CN201463176U - Micro-kernel device applied to control software of automobile air conditioner control panel products - Google Patents

Micro-kernel device applied to control software of automobile air conditioner control panel products Download PDF

Info

Publication number
CN201463176U
CN201463176U CN2009201208711U CN200920120871U CN201463176U CN 201463176 U CN201463176 U CN 201463176U CN 2009201208711 U CN2009201208711 U CN 2009201208711U CN 200920120871 U CN200920120871 U CN 200920120871U CN 201463176 U CN201463176 U CN 201463176U
Authority
CN
China
Prior art keywords
module
micro
task
kernel device
described step
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.)
Expired - Fee Related
Application number
CN2009201208711U
Other languages
Chinese (zh)
Inventor
周向华
金晶
吴小燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HANGZHOU ETC AUTOMOBILE ELECTRONICS CO Ltd
Original Assignee
HANGZHOU ETC AUTOMOBILE ELECTRONICS CO Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by HANGZHOU ETC AUTOMOBILE ELECTRONICS CO Ltd filed Critical HANGZHOU ETC AUTOMOBILE ELECTRONICS CO Ltd
Priority to CN2009201208711U priority Critical patent/CN201463176U/en
Application granted granted Critical
Publication of CN201463176U publication Critical patent/CN201463176U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The utility model discloses a micro-kernel device applied to control software of automobile air conditioner control panel products, comprising: (1) initializing a module; (2) switching task of the module; (3) acquisition of a user operation command module: acquiring command sent out by the user after operation; (4) a system state display module: converting the command acquired in the step (3) into system command, and showing the states of the device by a display device; (5) controlling a logical operation module: working out the states of executing mechanisms by the system command in the step (4) according to the air conditioning logic; (6) controlling a driving output module and all the executing mechanisms; (7) a system service module: providing CAN/LIN communication service; and (8) a system base service module: providing base services such as a timer, an ADC, etc. Due to the change of structural logic, the micro-kernel device has higher performance, consistency and robustness in multiple aspects such as parallel development, test, performance, etc.

Description

Be applied to the micro-kernel device of automobile air conditioner control panel series products control software
Technical field
The utility model relates to a kind of automotive air conditioning device, particularly a kind of micro-kernel device that is applied to automobile air conditioner control panel series products control software.
Background technology
The software configuration of using in automobile air conditioner control panel at present mainly is divided into two classes: 1, simple linear systemic circulation (Fig. 1); 2, based on the AM/BAM device (Fig. 2) that interrupts.These two kinds of structures all exist drawback, and the construction cycle is long, and the maintainability of software is poor, and the upgrade job amount is big, upgrading back parameter instability.
If adopt simple linear systemic circulation or based on the AM/BAM device that interrupts, factors such as the change of control device functional requirement or control logic change can cause: some functional modules of a. need be revised or the adding of the new functional module of b. or the merging of c. existing capability module are deleted and waited software to change.Any change of above-mentioned a.b.c. all will cause linear systemic circulation software configuration and change based on the control performance of the software of the AM/BAM device that interrupts, thereby influence the control characteristic of resulting device.For example, the control logic computing module is because the change of algorithm, cause become 10ms running time by original 1ms, then Zhuan Zhi overall control also will increase 4ms running time, if Zhuan Zhi total cycle of operation is 20ms before changing, satisfy the requirement that the user operates collection, and just will become after changing, will cause the realizable operating delay of user near 30ms.
Summary of the invention
In order to solve the problems of the technologies described above, the utility model is achieved through the following technical solutions.
A kind of micro-kernel device that is applied to automobile air conditioner control panel series products control software of the present utility model, it comprises:
(1) initialization module: apparatus for initializing parameter, duty cycle, task priority;
(2) task handover module: switch according to duty cycle, switch the task of needing motion;
(3) gather user's operational order module: gather the instruction of sending after user's operation;
(4) unit state display module: the instruction with step (3) collects converts the device order to, by each state of display device indication device;
(5) control logic computing module: with the device order of step (4) according to the air-conditioning logic, the state of each executing agency of computing;
(6) control drives output module, controls each executing agency;
(7) device service module: CAN/LIN is provided Communications service;
(8) device basic service module: infrastructure service is provided.
The device parameter of described step (1) comprises temperature, pattern, air quantity, compressor state and air circulation.
The task switching of described step (2), the task that priority is high, preferential operation.
User's operation of described step (3) is meant the operation to air-conditioning, comprises button and knob.
The indicating device of described step (4) is LCD, VFD or LED.
Described step (5) is calculated the state of each executing agency for according to the AD value that collects (AD: analog digital is changed), user command.
The driving of described step (6) comprises that mode activated, temperature-driven, water valve drive, circulation drives, air blast drives and compressor switch.
The executing agency of described step (5) or (6) comprises the pattern actuator, hybrid actuator, water valve actuator and circulated air actuator.
The device of described step (7) provides ADC, timer, EEPROM stores service, EEPROM non-volatile memory and the conversion of ADC analog digital.
Of the present utility model have a following beneficial effect:
The micro-kernel device (hereinafter to be referred as the micro-kernel device) that is applied to automobile air conditioner control panel series products control software of the present utility model switches by the multitask of software, guaranteed each task the device hardware clock guarantee in a big way in each task executions all be consistent, can not cause the variation significantly of device overall performance owing to the change of a task/module.
The variation of this apparatus structure logic causes the micro-kernel device all to have superior performance, uniformity and robustness in many-sides such as concurrent development, test, performances.Because each function that the micro-kernel device will install is divided in the corresponding software task, so, after determining, the task division framework of device can carry out the concurrent development of team to each task, and linear systemic circulation and based on the AM/BAM device that interrupts because the close-coupled between each functional module, the breadth and depth of concurrent development all is limited.To software test, each task of micro-kernel device can be carried out unit testing separately, (the task of Ti Jiaoing can not adopt the mock mode can to carry out the integration testing of each task after the task framework is finished, the mock mode is the emulation component mode), perhaps because intercoupling of each task is very little, in the task of having neither part nor lot in test can be limited in very among a small circle to the influence of the test result of the task of participating in test).And linear systemic circulation and based on the same because close-coupled of each task module of the AM/BAM device that interrupts, causing independently unit testing and early stage integration testing all is suitable difficulty.At the final aspect of performance of software, as previously mentioned, the control software of micro-kernel framework can improve the consistency of performance that is better than traditional structure software.
Crucial, because limited soft, the hardware resource limitations of car air-conditioner control panel series products, make the embedded OS of existing commercialization (OS operating system) almost not have applicable space, and the utility model has been realized real-time, uniformity, the robustness of the air-conditioning panel control of product function under the limited software and hardware resources condition.Because the micro-kernel device does not use special soft, hardware resource, so the transplanting between different hardware platforms is also fairly simple, convenience.
By the consistency of performance of device, concurrent development, the performance of superperformances such as unit and integration testing is the construction cycle of lifting device quality, control device obviously.
Description of drawings
Fig. 1 is simple linear systemic circulation flow chart;
Fig. 2 is based on the AM/BAM device flow chart of interruption;
Fig. 3 is the micro-kernel device flow chart that is applied to automobile air conditioner control panel series products control software of the present utility model.
The micro-kernel manipulated or operated apparatus that is applied to automobile air conditioner control panel series products control software of Fig. 4 embodiment of the present utility model.
The specific embodiment
Below in conjunction with the accompanying drawing and the specific embodiment the utility model is described in further detail:
With reference to figure 3, a kind of micro-kernel device that is applied to automobile air conditioner control panel series products control software, flow process comprises: initialization, task switching, user operate collection, unit state demonstration, control logic computing, control driving output, device expansion service, device basic service.
1, initialization.Apparatus for initializing parameter, duty cycle, task priority.(above initialization operation and correlation technique all are prior aries or the part innovative technology are arranged if innovation is arranged, please write exactly specifically is what, discloses insufficient and the influence mandate otherwise can cause.) [this application does not have the innovation of specific algorithm or unit, but ripe thought is in the application of frontier]
2, task is switched.Switch the task that priority is high, preferential operation according to duty cycle.The task switching is to be finished by the task handoff functionality module of device, is a core of micro-kernel device, and other functional modules all are the task bodies that is called by the task handover module.It is one of key foundation of this device that task under resource-constrained environment is switched, and the source code example is as follows:
#define?OS_TASKSWITCH(); \
switch(os_curtask) \
{ \
case?0:{ \
OS_TASK0(); \
break; \
} \
case?1:{ \
OS_TASK1(); \
break; \
} \
case?2:{ \
OS_TASK2(); \
break; \
} \
case?3:{ \
OS_TASK3(); \
break; \
} \
case?4:{ \
OS_TASK4(); \
break; \
} \
case?5:{ \
OS_TASK5(); \
break; \
} \
case?6:{ \
OS_TASK6(); \
break; \
} \
case?7:{ \
OS_TASK7(); \
break; \
} \
}
3, the user operates collection.Promptly gather user's operational order,, gather the status command of its button, knob according to actions such as the button of user on the air-conditioning guidance panel, knobs.
4, system mode shows.Instruction with last step collects converts system command to, by each states of indicating device indication device such as LCD, VFD, LED.
5, control logic computing.According to last step order, according to the air-conditioning logic, the state of each executing agency of computing.
6, control drives output.Output drives, motors such as drive pattern, temperature, water valve, circulation, blower air blast, signals such as output compressor, back defrosting.
7, system service module.Services such as CAN/LIN communication are provided.
8, system-based service module.Device provides services such as ADC, timer, EEPROM storage.
Can increase and decrease corresponding module according to application need exactly with one of having a few of micro-kernel mode.The CAN/LIN module all needs with regard to not every device, and the ADC that device provides also has different configurations with the timer service in different application.
The micro-kernel device that is applied to automobile air conditioner control panel series products control software can comprise 2 above timers, pulse width modulation (being called for short PWM) waveform generator and and the concrete analog-and digital-port resource of application adaptation on 8 or 16 single-chip microcomputer platforms.Can select for use is PIC16F877A (possessing 33 input/output ports and 8 10 analog digital conversion ports), as Fig. 4.
Reference examples, Fig. 1 and Fig. 2, if adopt simple linear systemic circulation or based on the AM/BAM device that interrupts, factors such as the change of control device functional requirement or control logic change can cause some functional modules of a. to revise or the adding of the new functional module of b. or the merging of c. existing capability module are deleted and waited software to change.Contrast top linear systemic circulation software configuration, can find based on the AM/BAM device software structure of interrupting and the structured flowchart of micro-kernel device software structure, any change of above-mentioned a.b.c. all will cause linear systemic circulation software configuration and change based on the control performance of the software of the AM/BAM device that interrupts, thereby influence the control characteristic of resulting device.For example, the control logic computing module is because the change of algorithm, cause become 10ms running time by original 1ms, then Zhuan Zhi overall control also will increase 4ms running time, if Zhuan Zhi total cycle of operation is 20ms before changing, satisfy the requirement that the user operates collection, and just will become after changing, will cause the realizable operating delay of user near 30ms.
And the multitask of micro-kernel device by software switched, guaranteed each task the device hardware clock guarantee in a big way in each task executions all be consistent, can not cause the variation significantly of device overall performance owing to the change of a task/module.
The variation of this apparatus structure logic, cause the micro-kernel device at concurrent development, test, many-sides such as performance all have superior performance, uniformity and robustness. because each function that the micro-kernel device will install is divided in the corresponding software task, so, after determining, the task division framework of device can carry out the concurrent development of team to each task, and linear systemic circulation and based on the AM/BAM device that interrupts because the close-coupled between each functional module, the breadth and depth of concurrent development all is limited. to software test, each task of micro-kernel device can be carried out unit testing separately, (the task of Ti Jiaoing can not adopt the mock mode can to carry out the integration testing of each task after the task framework is finished, perhaps because intercoupling of each task is very little, in the task of having neither part nor lot in test can be limited in very among a small circle to the influence of the test result of the task of participating in test). and linear systemic circulation and same because the close-coupled of each task module based on the AM/BAM device that interrupts, it all is quite difficult causing independently unit testing and early stage integration testing. at the final aspect of performance of software, as previously mentioned, the control software of micro-kernel framework can improve the consistency of performance that is better than traditional structure software.
At last, it is also to be noted that what more than enumerate only is specific embodiment of the utility model.Obviously, the utility model is not limited to above examples of implementation, and many distortion can also be arranged.All distortion that those of ordinary skill in the art can directly derive or associate from the disclosed content of the utility model all should be thought protection domain of the present utility model.

Claims (9)

1. one kind is applied to the micro-kernel device that the automobile air conditioner control panel series products is controlled software, it is characterized in that it comprises:
(1) initialization module: initialization system parameter, duty cycle, task priority;
(2) task handover module: switch according to duty cycle, switch the task of needing motion;
(3) gather user's operational order module: gather the instruction of sending after user's operation;
(4) system status display module: the instruction with step (3) collects converts system command to, by each state of display device indication device;
(5) control logic computing module: with the system command of step (4) according to the air-conditioning logic, the state of each executing agency of computing;
(6) control drives output module, controls each executing agency;
(7) system service module: CAN/LIN is provided Communications service;
(8) system-based service module: infrastructure service is provided.
2. micro-kernel device according to claim 1 is characterized in that: the systematic parameter of described step (1) comprises temperature, pattern, air quantity, compressor state and air circulation.
3. micro-kernel device according to claim 1 is characterized in that: the task switching of described step (2), the task that priority is high, preferential operation.
4. micro-kernel device according to claim 1 is characterized in that: user's operation of described step (3) is meant the operation to air-conditioning, comprises button and knob.
5. micro-kernel device according to claim 1 is characterized in that: the indicating device of described step (4) is LCD, VFD or LED.
6. micro-kernel device according to claim 1 is characterized in that: described step (5) is calculated the state of each executing agency for according to the AD value, the user command that collect.
7. micro-kernel device according to claim 1 is characterized in that: the driving of described step (6) comprises that mode activated, temperature-driven, water valve drive, circulation drives, air blast drives and compressor switch.
8. micro-kernel device according to claim 1 is characterized in that: the executing agency of described step (5) or (6) comprises the pattern actuator, hybrid actuator, water valve actuator and circulated air actuator.
9. micro-kernel device according to claim 1 is characterized in that: the system of described step (7) provides ADC, timer, EEPROM stores service, EEPROM non-volatile memory and the conversion of ADC analog digital.
CN2009201208711U 2009-05-27 2009-05-27 Micro-kernel device applied to control software of automobile air conditioner control panel products Expired - Fee Related CN201463176U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009201208711U CN201463176U (en) 2009-05-27 2009-05-27 Micro-kernel device applied to control software of automobile air conditioner control panel products

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009201208711U CN201463176U (en) 2009-05-27 2009-05-27 Micro-kernel device applied to control software of automobile air conditioner control panel products

Publications (1)

Publication Number Publication Date
CN201463176U true CN201463176U (en) 2010-05-12

Family

ID=42390527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009201208711U Expired - Fee Related CN201463176U (en) 2009-05-27 2009-05-27 Micro-kernel device applied to control software of automobile air conditioner control panel products

Country Status (1)

Country Link
CN (1) CN201463176U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106440197A (en) * 2016-09-23 2017-02-22 广东美的制冷设备有限公司 Control connecting box for air conditioner and air conditioner detection system
CN106843047A (en) * 2017-01-24 2017-06-13 苏州咖博士咖啡系统科技有限公司 A kind of coffee machine method of actuator control

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106440197A (en) * 2016-09-23 2017-02-22 广东美的制冷设备有限公司 Control connecting box for air conditioner and air conditioner detection system
CN106843047A (en) * 2017-01-24 2017-06-13 苏州咖博士咖啡系统科技有限公司 A kind of coffee machine method of actuator control

Similar Documents

Publication Publication Date Title
CN202328623U (en) Air deflector operating speed control circuit for air-conditioner and air-conditioner
KR101780052B1 (en) Method for switching the operating system in information processing system
CN201463176U (en) Micro-kernel device applied to control software of automobile air conditioner control panel products
CN102262818A (en) Air conditioner controlled by mobile phone and method for controlling air conditioner
CN103634169A (en) A household electrical appliance control system realized based on intelligent terminals
CN101788845A (en) Methods and systems to perform a computer task in a reduced power consumption state
JP2008532166A5 (en)
CN110486895B (en) Air conditioner on-off function control method, computer device and computer readable storage medium
JP2011138424A5 (en)
CN102032642B (en) Control method of inverter air conditioner
WO2013113139A1 (en) Cloud air conditioner adaptive defrosting method and system based on cloud computing
CN100377042C (en) Method for saving energy by optimizing running frequency through combination of static compiler and dynamic frequency modulation techniques
CN103605489B (en) A kind of Multi-display-screenparallel parallel display system and method
KR20100062188A (en) Apparatus and method for the sca compliant sdr terminal to change service mode
CN102012877B (en) Flushbonading stored program control exchange for expanding embedded processor GPIO by using CPLD
CN101566381A (en) Microkernel kernel system applied in control software of vehicle air conditioning control panel products
CN100373336C (en) Method for realizing flash-storage dynamic update of single-chip machine
CN104123056A (en) Switching method, device and terminal of user interfaces
CN105578505A (en) State management method of wireless communication module and wireless communication module
CN101770434A (en) Method and system for switching different function units in PCI device
Bambagini et al. Energy management for tiny real-time kernels
CN102902638B (en) Hardware equipment control method and device
CN201706626U (en) Automobile air conditioning control framework
CN101866174B (en) Electronic communication control system for anti-lock braking system in automobile vacuum booster fatigue test
CN101719964B (en) Mobile terminal and Power management method thereof

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100512

Termination date: 20140527