Digital intelligent automobile air conditioning control system and control method thereof
Technical field
The present invention relates to a kind of car air-conditioner control technology, relate in particular to a kind of digital intelligent automobile air conditioning control system and control method thereof.
Background technology
Air conditioning for automobiles extensively has been equipped on the various automobile as the standard configuration part of automobile, because country does not have unified air conditioning for automobiles industry standard, air conditioning for automobiles enterprise is widely used to be traditional relay+fuse control scheme.This scheme wiring is complicated, production is wasted time and energy and reliability is not high, and the parts that adopted are not general mutually, give the production and the supporting inconvenience of bringing of product.Complicated simultaneously wires design can't adapt to large-scale pipeline production, has directly reduced the production efficiency of enterprise.
Summary of the invention
The present invention proposes a kind of digital intelligent automobile air conditioning control system, it comprises: main control unit, control and display unit, evaporation fan, condensation fan, air-conditioning generator coil, compressor coil, new wind-powered electricity generation machine, ozone generator and control module power supply; Control and display unit, evaporation fan, condensation fan, air-conditioning generator coil, compressor coil, new wind-powered electricity generation machine, ozone generator all communicate to connect with main control unit, and the control module power supply is the main control unit power supply;
Control and display unit receive the information of main control unit and it are fed back to operating personnel, operating personnel are by the action of control and display unit indication main control unit, the action of main control unit control evaporation fan, condensation fan, air-conditioning generator coil, compressor coil, new wind-powered electricity generation machine, ozone generator.
Described main control unit comprises: single-chip microcomputer one, evaporation fan control circuit, condensation fan control circuit, air-conditioning generator coil control circuit, compressor coil control circuit, new wind-powered electricity generation machine control circuit, ozone generator control circuit, temperature collection circuit, pressure signal Acquisition Circuit, LIN telecommunication circuit;
Transmit data by LIN (Local Interconnect Network) telecommunication circuit between single-chip microcomputer one and control and the display unit;
Temperature collection circuit and pressure signal Acquisition Circuit detect data to the single-chip microcomputer one-way transmission;
Evaporation fan control circuit, condensation fan control circuit, air-conditioning generator coil control circuit, compressor coil control circuit, new wind-powered electricity generation machine control circuit, ozone generator control circuit, six are connected with the single-chip microcomputer two-way communication.
Described control and display unit comprise: single-chip microcomputer two, man-machine dialogue equipment, LIN telecommunication circuit; Transmit data by the LIN telecommunication circuit between single-chip microcomputer two and the main control unit; Exchange by man-machine dialogue equipment between single-chip microcomputer two and the operating personnel;
Wherein, man-machine dialogue equipment comprises: function button, function LED light, air quantity display, temperature indicator; Function button, function LED light, air quantity display, temperature indicator all communicate to connect with single-chip microcomputer two respectively.
Described control module power supply is made up of two relatively independent 24V~12V power modules, a power module is the main control unit power supply, another power module is controlled to be the load circuit power supply through main control unit, and described load circuit comprises: evaporation fan control circuit, condensation fan control circuit, air-conditioning generator coil control circuit, compressor coil control circuit, new wind-powered electricity generation machine control circuit, ozone generator control circuit, temperature collection circuit, pressure signal Acquisition Circuit.
The invention allows for a kind of control method that is used for digital intelligent automobile air conditioning control system, it is made up of main control unit control program, control and display unit control program;
Control and display unit control program are analyzed and are handled operating personnel's instruction and instruction is sent to main control unit;
Main control unit control program receiving system self check measurement information also sends it to control and display unit, receives the instruction from control and display unit simultaneously, and controls the action of each module according to command content.
(1) treatment step of main control unit control program is:
1) module initialization; Whether detect the power supply power supply normal: normal, then enter step 2); Undesired, then stop subsequent action, send a warning message to control and display unit, and report to the police repeating step 1 by corresponding indicator lamp stroboscopic);
2) receive detection information, detect the instruction that whether has from control and display unit simultaneously, have from control and display unit, then receive and deal with after enter step 3), nothing, the setting program when then once shutting down before the execution enters step 3) then;
Setup parameter in setting program and the main control unit control program is complementary;
3) regularly send and detect feedback information, judge simultaneously whether the data that sensor collects change, and are, then to controlling and display unit enters step 4) after sending new sensor information to control and display unit; , then directly do not enter step 4);
4) judge whether to satisfy the condition that starts pre-set programs:
[1] satisfies, then start pre-set programs; Repeating step 4);
[2] otherwise, carry out following processing: according to step 2) result determines whether air-conditioning starts shooting: have instruction then to start the air-conditioning generator coil and enter step 5) from control and display unit; Nothing is then returned step 2 from the instruction of control and display unit);
5) in turn new wind-powered electricity generation machine control circuit and ozone generator control circuit are carried out short circuit, open circuit, overheated detection:
[1] detection is no abnormal, then continues to handle the instruction from control and display unit: judged whether new wind order and/or ozone order, had and then control new wind-powered electricity generation machine and/or ozone generator unlatching, and enter step 6); No related command then directly enters step 6);
[2] detection has unusually, then turn-offs corresponding control circuit, and sends warning information to control and display unit, reports to the police by corresponding indicator lamp, and returns step 2);
6) the evaporation fan control circuit is carried out short circuit, open circuit, overheated detection:
[1] detects no abnormally, continue to have judged whether ventilation commands, have, enter step 7) after then starting evaporation fan; Do not have, then return step 2);
[2] detection has unusually, then turn-offs the evaporation fan control circuit, and sends warning information to control and display unit, reports to the police by corresponding indicator lamp, and returns step 2);
7) the evaporation fan control circuit is carried out short circuit, open circuit, overheated detection:
[1] detects no abnormally, then continue to have judged whether the refrigeration order: have, return step 2 after then starting condensation fan); Do not have, then directly return step 2);
[2] detection has unusually, then turn-offs the condensation fan control circuit, and sends warning information to control and display unit, reports to the police by corresponding indicator lamp, and returns step 2).
The processing method of the step in the step 4) [1] is:
Carry out temperature detection:
(1) vehicle interior temperature surpasses 30 ℃, starts the refrigeration program;
(2) vehicle interior temperature surpasses 2 ℃ of design temperatures, starts the refrigeration program;
(3) vehicle interior temperature is lower than 22 ℃, judges whether the program of setting for artificial: be, then by the artificial program work of setting; , then do not close the refrigeration program;
(4) vehicle interior temperature is lower than 16 ℃, directly closes the refrigeration program;
(5) evaporator temperature is lower than 2 ℃, directly closes the refrigeration program;
(6) satisfy the conditions for sterilization of setting, start ozone generator, and after 5 minutes, close ozone generator;
(7) according to CO
2The data that sensor is gathered when air quality is bad, started new wind-powered electricity generation machine, and closed new wind-powered electricity generation machine after 10 minutes;
Aforementioned (1) to (7) item can be carried out wherein one separately, or carry out multinomial simultaneously.
(2) treatment step of control and display unit control program is:
1) module initialization, and the setup parameter when once shutting down before calling in;
Setting program in setup parameter and the main control unit control program is complementary;
2) whether the measuring ability button has input: have, more resh air requirement display and temperature indicator after then input information being handled and preserved enter step 3) then; Do not have, then, enter step 3) then according to preceding setup parameter when once shutting down more resh air requirement display and temperature indicator;
3) send detection information to main control unit, comparative parameter changes simultaneously: change, then send command information to main control unit, enter step 4) then; No change then directly enters step 4);
4) reception detects whether new sensor information is arranged simultaneously from the detection feedback information of main control unit: have, enter step 5) after then receiving; Do not have, then directly enter step 5);
5) judge according to detecting feedback information whether system is working properly: be after then continuing display device to be carried out Data Update, to return step 2) according to the sensor real time information; Not, then not sending warning information by indicator lamp also carries out returning step 2 after the Data Update to display device according to new sensor information).
Useful technique effect of the present invention is: a kind of reliable, energy-saving and environmental protection, easy-to-use air-conditioner control system are provided, have thoroughly solved all drawbacks that adopt relay control air-conditioning.
Description of drawings
Fig. 1, control system block diagram of the present invention;
Fig. 2, control and display cell structure block diagram;
Fig. 3, main control unit structured flowchart;
The inner pin function distribution map of Fig. 4, control and display unit single-chip microcomputer two processors;
Fig. 5, the inner pin function distribution map of main control unit single-chip microcomputer one processor;
Fig. 6, SPM pin function distribution map;
Fig. 7, external power source input interface circuit figure one;
Fig. 8, external power source input interface circuit figure two;
Fig. 9, internal electric source input interface circuit figure;
Figure 10, new wind-powered electricity generation machine and ozone generator output interface circuit figure;
Figure 11, air-conditioning generator coil and compressor clutch coil output interface circuit figure;
Figure 12, a loaded work piece status indicator lamp output interface circuit figure;
Figure 13, evaporation fan PWM stepless speed regulation output interface circuit figure;
Figure 14, LIN communication interface circuit figure;
Figure 15, main control unit working procedure flow chart;
Figure 16, control and display unit working procedure flow chart;
The specific embodiment
Referring to Fig. 1, digital intelligent automobile air conditioning control system of the present invention is made up of 4 parts, and they are respectively: air-conditioning load, main control unit, control and display unit, control module power supply; The air-conditioning load is controlled by main control unit, and main control unit is controlled by control and display unit, and the two provides power supply to the control module power supply for main control unit, control and display unit; Wherein, the air-conditioning load comprises again: evaporation fan, condensation fan, air-conditioning generator coil, compressor coil, new wind-powered electricity generation machine, ozone generator; The control module power supply is made up of two relatively independent 24V~12V power modules, and two power modules are respectively main control unit, control and display unit power supply.
Control and display unit are used for driver and conductor's input control order and show the air-conditioning work state; Control on the one hand to air-conditioning is controlled main control unit by communicating by letter with feed cable with display unit the control power supply is provided, and finishes the mutual of data on the other hand.
Main control unit is determined the power supply break-make of related load in the air-conditioning load according to program; Main control unit also will detect the input voltage range of each load in air-conditioning load power supply, has or not abnormal conditions such as open circuit, short circuit, and indicator lamp is made the corresponding state indication.
Referring to Fig. 2, control and display unit comprise: single-chip microcomputer two, man-machine dialogue equipment, LIN telecommunication circuit; Transmit data by the LIN telecommunication circuit between single-chip microcomputer two and the main control unit; Exchange by man-machine dialogue equipment between single-chip microcomputer two and the operating personnel; Wherein, man-machine dialogue equipment comprises: function button, function LED light, air quantity display, temperature indicator; Function button, function LED light, air quantity display, temperature indicator all communicate to connect with single-chip microcomputer two respectively.
Except aforesaid each module, also be provided with the external power source input interface circuit in control and the display unit, the external power source input interface circuit is connected with single-chip microcomputer two, and the external power source input interface circuit is used to control and being connected of display unit and control module power supply.
The inner pin function of single-chip microcomputer two processors distributes as shown in Figure 4.
Referring to Fig. 3, main control unit comprises: single-chip microcomputer one, evaporation fan control circuit, condensation fan control circuit, air-conditioning generator coil control circuit, compressor coil control circuit, new wind-powered electricity generation machine control circuit, ozone generator control circuit, temperature collection circuit, pressure signal Acquisition Circuit, LIN telecommunication circuit; Transmit data by the LIN telecommunication circuit between single-chip microcomputer one and control and the display unit; Temperature collection circuit and pressure signal Acquisition Circuit detect data to the single-chip microcomputer one-way transmission; Evaporation fan control circuit, condensation fan control circuit, air-conditioning generator coil control circuit, compressor coil control circuit, new wind-powered electricity generation machine control circuit, ozone generator control circuit, six are connected with the single-chip microcomputer two-way communication.
Also be provided with internal electric source input interface circuit, air-conditioning work state LED light on the main control unit; The inner pin function of monolithic one machine processor distributes as shown in Figure 5.
Referring to Fig. 6, air-conditioning generator coil control circuit is selected SPM for use; As shown in the figure, the signals collecting by R75, R68, R70 and C2 finish output driving current voltage is realized that by single-chip microcomputer one collection of voltage and current is compared.
Referring to Fig. 7, described power input interface circuit comprises two partial circuits: one contains diode D1, D2, D14, voltage changer U6, inductance coil L1, capacitor C 4, C13, and annexation as shown in the figure; Referring to Fig. 8, it two contains voltage changer U2, capacitor C 5, C3, and annexation as shown in the figure.
Referring to Fig. 9, the internal electric source input interface circuit as shown in the figure;
Referring to Figure 10, new wind-powered electricity generation machine control circuit and ozone generator control circuit, the 26S Proteasome Structure and Function of two groups of circuit is identical, and this circuit comprises: intelligent control module U17, R76, D36, its annexation is as shown in the figure; Collection by single-chip microcomputer one realization voltage and current is compared, and finishes open circuit and short-circuit protection and detection.
Referring to Figure 11, air-conditioning generator coil control circuit and compressor coil control circuit, the structure of two groups of circuit is identical; This circuit comprises: intelligent control module U16, R77, D35, can compare by the collection of single-chip microcomputer one realization voltage and current, and finish open circuit and short-circuit protection and detection.
Referring to Figure 12, air-conditioning work state LED light, its circuit constitutes: signal driver module U14, R89, R54, R55, R56, R57, R58, R59, R60, D40, D18, D19, D20, D21, D22, D23, D24, D25, can realize the duty indication of air-conditioning load correspondence by single-chip microcomputer one.
The evaporation fan control circuit comprises two parts, and wherein a part is selected SPM for use, and 26S Proteasome Structure and Function is identical with circuit shown in Figure 6; Its two part as shown in figure 13, it comprises elements such as diode D5, D9, driver V2, capacitor C 18, realizes PWM stepless speed regulation by single-chip microcomputer one.
Referring to Figure 14, the interface circuit that is used for LIN communication comprises driver U4, resistance R 2, R3, R4, R5, R44, capacitor C 16, C17, diode D13; The LIN communication and the power circuit that build thus, the difference of the interface circuit of communicating by letter with LIN are that LIN communication and power circuit do not have diode D13 and resistance R 44 parts in the LIN communication interface circuit; LIN communication and power circuit be used to control and display unit and main control unit between data and the transmission of control power supply.
Referring to Figure 15, the treatment step of main control unit control program is:
1) module initialization; Whether detect the power supply power supply normal: normal, then enter step 2); Undesired, then stop subsequent action, send a warning message to control and display unit, and report to the police repeating step 1 by corresponding indicator lamp stroboscopic);
2) receive detection information, detect the instruction that whether has from control and display unit simultaneously, have from control and display unit, then receive and deal with after enter step 3), nothing, the setting program when then once shutting down before the execution enters step 3) then;
Setup parameter in setting program and the main control unit control program is complementary;
3) regularly send and detect feedback information, judge simultaneously whether the data that sensor collects change, and are, then to controlling and display unit enters step 4) after sending new sensor information to control and display unit; , then directly do not enter step 4);
4) judge whether to satisfy the condition that starts pre-set programs:
[1] satisfies, then start pre-set programs; Repeating step 4);
[2] otherwise, carry out following processing: according to step 2) result determines whether air-conditioning starts shooting: have instruction then to start the air-conditioning generator coil and enter step 5) from control and display unit; Nothing is then returned step 2 from the instruction of control and display unit);
5) in turn new wind-powered electricity generation machine control circuit and ozone generator control circuit are carried out short circuit, open circuit, overheated detection:
[1] detection is no abnormal, then continues to handle the instruction from control and display unit: judged whether new wind order and/or ozone order, had and then control new wind-powered electricity generation machine and/or ozone generator unlatching, and enter step 6); No related command then directly enters step 6);
[2] detection has unusually, then turn-offs corresponding control circuit, and sends warning information to control and display unit, reports to the police by corresponding indicator lamp, and returns step 2);
6) the evaporation fan control circuit is carried out short circuit, open circuit, overheated detection:
[1] detects no abnormally, continue to have judged whether ventilation commands, have, enter step 7) after then starting evaporation fan; Do not have, then return step 2);
[2] detection has unusually, then turn-offs the evaporation fan control circuit, and sends warning information to control and display unit, reports to the police by corresponding indicator lamp, and returns step 2);
7) the evaporation fan control circuit is carried out short circuit, open circuit, overheated detection:
[1] detects no abnormally, then continue to have judged whether the refrigeration order: have, return step 2 after then starting condensation fan); Do not have, then directly return step 2);
[2] detection has unusually, then turn-offs the condensation fan control circuit, and sends warning information to control and display unit, reports to the police by corresponding indicator lamp, and returns step 2).
Wherein, abovementioned steps 4) in the processing method of step [1] be:
Carry out temperature detection:
(1) vehicle interior temperature surpasses 30 ℃, starts the refrigeration program;
(2) vehicle interior temperature surpasses 2 ℃ of design temperatures, starts the refrigeration program;
(3) vehicle interior temperature is lower than 22 ℃, judges whether the program of setting for artificial: be, then by the artificial program work of setting; , then do not close the refrigeration program;
(4) vehicle interior temperature is lower than 16 ℃, directly closes the refrigeration program;
(5) evaporator temperature is lower than 2 ℃, directly closes the refrigeration program;
(6) satisfy the conditions for sterilization of setting, start ozone generator, and after 5 minutes, close ozone generator;
(7) according to CO
2The data that sensor is gathered when air quality is bad, started new wind-powered electricity generation machine, and closed new wind-powered electricity generation machine after 10 minutes;
Aforementioned (1) to (7) item can be carried out wherein one separately, or carry out multinomial simultaneously.
Referring to Figure 16, the treatment step of control and display unit control program is:
1) module initialization, and the setup parameter when once shutting down before calling in;
Setting program in setup parameter and the main control unit control program is complementary;
2) whether the measuring ability button has input: have, more resh air requirement display and temperature indicator after then input information being handled and preserved enter step 3) then; Do not have, then, enter step 3) then according to preceding setup parameter when once shutting down more resh air requirement display and temperature indicator;
3) send detection information to main control unit, comparative parameter changes simultaneously: change, then send command information to main control unit, enter step 4) then; No change then directly enters step 4);
4) reception detects whether new sensor information is arranged simultaneously from the detection feedback information of main control unit: have, enter step 5) after then receiving; Do not have, then directly enter step 5);
5) judge according to detecting feedback information whether system is working properly: be after then continuing display device to be carried out Data Update, to return step 2) according to the sensor real time information; Not, then not sending warning information by indicator lamp also carries out returning step 2 after the Data Update to display device according to new sensor information).