CN101571310A - Automobile air-conditioning control framework - Google Patents

Automobile air-conditioning control framework Download PDF

Info

Publication number
CN101571310A
CN101571310A CNA2009100989643A CN200910098964A CN101571310A CN 101571310 A CN101571310 A CN 101571310A CN A2009100989643 A CNA2009100989643 A CN A2009100989643A CN 200910098964 A CN200910098964 A CN 200910098964A CN 101571310 A CN101571310 A CN 101571310A
Authority
CN
China
Prior art keywords
control
module
framework
mvc
air conditioning
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
Application number
CNA2009100989643A
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 CNA2009100989643A priority Critical patent/CN101571310A/en
Publication of CN101571310A publication Critical patent/CN101571310A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Air-Conditioning For Vehicles (AREA)

Abstract

The invention discloses an automobile air-conditioning control framework, comprising a base layer inner core framework, an MVC control software frame and a base control drive; the base layer inner core framework is used for realizing task switching, resource management, base services and extended services; the MVC control software frame comprises a model module, a view module and a controller module which respectively process system control logic, information display and user operation control; the base control drive is used for driving a micromotor, a compressor and a blower executing mechanism; tasks are divided according to the MVC control software frame, the base layer inner core framework triggers the tasks which are output after being controlled, processed by the controller module, the view module and the model module and finally output to a control executing system through the base control drive. The automobile air-conditioning control framework effectively improves the maintainability of system development cycle and software and effectively meets the requirements of vehicle type development.

Description

A kind of air conditioning for automobiles control framework
Technical field
The present invention relates to a kind of automobile air conditioner control panel, particularly a kind of air conditioning for automobiles control framework that adopts MVC control software frame.
Background technology
The common restriction of air-conditioning panel product owing to aspects such as system, costs, and have very limited software and hardware resources.And the automotive type exploitation, comprise automotive air-conditioning system, it is many that the exploitation of automobile air conditioner control panel but has variation, the characteristics that the execution cycle is short, the air-conditioning panel of the present development of software technology often can not adapt to this variation, and vehicle changes and will cause the software of having developed to scrap or make a new start.
The software configuration of using in automobile air conditioner control panel at present mainly is divided into two classes: 1, simple linear systemic circulation; 2, based on the AM/BAM system of interrupting.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.
Summary of the invention
The objective of the invention is to overcome deficiency of the prior art, a kind of air conditioning for automobiles control framework of the MVC of employing control software frame is provided.
In order to solve the problems of the technologies described above, the present invention is achieved by the following technical solutions:
A kind of air conditioning for automobiles control framework of the present invention, it comprises:
Bottom kernel framework: the realization task is switched, resource management, basic service, expansion service;
MVC controls software frame: comprise model module, views module and controller module, treatment system control logic, information demonstration and user operate control respectively;
Basis control drives: be used to drive micro machine, compressor, air blast executing agency;
Divide task according to MVC control software frame, bottom kernel framework triggers these tasks, and back output is handled in via controller module, views module and model module control, is finally driven by basis control and outputs to the control executive system.
Described MVC control software frame comprises:
Model module: system state data and control logic, represent the state of the application system that application program controls, responsive state inquiry simultaneously, the flow process of managing business, notice view service condition upgrades;
Views module: be used for system status information is sent to display screen, indicator lamp demonstration indicating device, upgrade indication with timing or event driven mode;
Controller module: be used for the collection of user's operation signal, the processing of man-machine interaction comprises and gathers button, knob signal, these signals is converted to instruction, and call corresponding model logic.
Described bottom kernel framework is micro embedded software kernel.
Described views module is the software abstract of the display system of reality, timing or the status information of upgrading from the model acquisition of system under Event triggered.
Described controller is used to gather interior outer circulation, blowing pattern, temperature setting, refrigeration, air quantity, shutdown key-press status, and these key-press status are converted to key value, and notification model is handled.
Described model is used for logical operation, and conversion is gathered according to analog digital data, operation signal carry out logical operation, change blowing pattern, goal-setting temperature, air quantity, compressor or the interior external circulating system state of air-conditioning system.
The control of described basis drives and is used for drive pattern, mixing, water valve and loop control actuating motor, blower speed adjusting module, output compressor, back defrosting control signal.
Described task comprises: driving, control logic computing, motor positioning control and input signal acquisition process are handled, show, exported to key scan, button.
A kind of air conditioning for automobiles control framework of the present invention has following beneficial effect:
The present invention is by using micro embedded software kernel and MVC software frame, avoided the defective of existing software engineering, real-time, uniformity, the robustness of the air-conditioning panel control of product function under the limited software and hardware resources condition have been improved emphatically, realize reliable, consistent human-computer interaction interface, avoid the uncertainty of system responses in the man-machine interaction process;
The present invention has set up the control software architecture of the optimization that is applicable to the Air-Conditioning Control Panel series products, makes between product line control software reach uniformity and standardization;
The present invention has improved the maintainability of system development cycle and software effectively, has adapted to the needs of automobile development effectively.
Description of drawings
Fig. 1 is the MVC Design Mode;
Fig. 2 is the workflow diagram of embodiments of the invention;
Fig. 3 is the micro embedded software kernel circuit diagram of embodiments of the invention;
Fig. 4 is the basis control drive circuit figure of embodiments of the invention;
Fig. 5 is the driven compressor signal circuit diagram of embodiments of the invention;
Fig. 6 is the construction cycle that the MVC framework improves control software.
The specific embodiment
Below in conjunction with the accompanying drawing and the specific embodiment the present invention is described in further detail:
MVC is a kind of Design Mode, and it forcibly the input of application program, processing and output separately.MVC is divided into three nucleus modules to application program: model, view and controller, they undertake different tasks respectively.As Fig. 1, the MVC Design Mode.
The processing procedure of MVC.At first controller receives user's request, and determines that call which model handles; Model carries out the correspondent service logic processing according to user's request then, and return data; Last controller calls corresponding view and formats the data that model returns, and presents to the user by view.
With reference to figure 2, a kind of air conditioning for automobiles control framework (hereinafter to be referred as system) has adopted MVC control software frame.According to MVC, be task division: driving, control logic computing, motor positioning control, input signal acquisition process totally seven tasks are handled, show, exported to key scan, button.
1, micro embedded software kernel (being called for short MCU).Mode according to timing or incident triggers above seven tasks.Basic services such as analog digital conversion (being called for short ADC) collection, data preservation, timer are provided.
Micro embedded software kernel can be 8 or 16 single-chip microcomputers, comprises 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.What adopt in the example is PIC16F877A (possessing 33 input/output ports and 8 10 analog digital conversion ports), as Fig. 3.
2, controller module.Gather key-press status such as OFF, interior outer circulation, pattern, refrigeration, and these key-press status are converted to key value, notification model is handled.
3, views module.Timing or the system mode of under Event triggered, upgrading from the model module acquisition of system, and, output to display system through code displaying, finish system mode and show.
4, model module.Logical operation, the data of gathering according to ADC, operation signal etc. carry out logical operation, system modes such as change pattern, temperature, air quantity, refrigeration, interior outer circulation, in automatic operational mode also according to default control logic, operate input information and the system running state information of obtaining such as Current Temperatures by the user, the process computing draws the output valve of each output quantity, and the control drive part that offers the basis is exported as target.
5, basis control drives.Output drives, motors such as drive pattern, temperature, water valve, circulation, blower air blast, signals such as output compressor, back defrosting.Basis control drives the mode that adopts the data pulling, respectively controls output quantity from what the model module of system obtained to calculate, and through the bottom output encoder, finally outputs to the control executive system.
Basis control drive circuit generally includes motor-driven full-bridge or half-bridge group, is used to drive one or more actuating motor.Adopt the drive axle of L2722 in the example, as Fig. 4 as micromachine.
Can also comprise the driven compressor signal, normally high or low effective 12V logical signal, load capacity can drive a relay, as Fig. 5.
With reference to figure 2, in the practical application, driver or occupant are as the terminal use, its control command to air-conditioning system shows as the button to Air-Conditioning Control Panel, the operation of knob, these operations are caught by " controller module " of control system after the processing of circuit of air-conditioning panel inside, through becoming " model module " that corresponding operational order is applied to control system after the identification, " model module " moves based on default arithmetic logic and draws operation result.Model after the change notifies " views module " unit that system status information is exported, and notifies the basis to control driver element simultaneously, controlled quentity controlled variable is outputed to outside control appliance, as actuating motor, compressor.Micro embedded kernel is as the infrastructure of The whole control software, for top model, view, controller and basis control driver element provide task timing, the relevant service with the timer resource management of switching.
Fig. 6 is the construction cycle that the MVC framework improves control software, as can be seen from Figure, in the compact applications exploitation, adopts MVC and does not adopt the MVC framework, and its construction cycle differs not obvious, does not adopt the construction cycle of MVC framework short slightly; In large-scale application and development, behind the employing MVC framework, the construction cycle obviously shortens.
At last, it is also to be noted that what more than enumerate only is specific embodiments of the invention.Obviously, the invention is not restricted to above examples of implementation, many distortion can also be arranged.All distortion that those of ordinary skill in the art can directly derive or associate from content disclosed by the invention all should be thought protection scope of the present invention.

Claims (8)

1, a kind of air conditioning for automobiles control framework is characterized in that it comprises:
Bottom kernel framework: the realization task is switched, resource management, basic service, expansion service;
MVC controls software frame: comprise model module, views module and controller module, treatment system control logic, information demonstration and user operate control respectively;
Basis control drives: be used to drive micro machine, compressor, air blast executing agency;
Divide task according to MVC control software frame, bottom kernel framework triggers these tasks, and back output is handled in via controller module, views module and model module control, is finally driven by basis control and outputs to the control executive system.
2, air conditioning for automobiles control framework according to claim 1 is characterized in that described MVC control software frame comprises:
Model module: system state data and control logic, represent the state of the application system that application program controls, responsive state inquiry simultaneously, the flow process of managing business, notice view service condition upgrades;
Views module: be used for system status information is sent to display screen, indicator lamp demonstration indicating device, upgrade indication with timing or event driven mode;
Controller module: be used for the collection of user's operation signal, the processing of man-machine interaction comprises and gathers button, knob signal, these signals is converted to instruction, and call corresponding model logic.
3, air conditioning for automobiles control framework according to claim 1, it is characterized in that: described bottom kernel framework is micro embedded software kernel.
4, air conditioning for automobiles control framework according to claim 1, it is characterized in that: described views module is the software abstract of the display system of reality, timing or the status information of upgrading from the model acquisition of system under Event triggered.
5, air conditioning for automobiles control framework according to claim 1 and 2, it is characterized in that: described controller is used to gather interior outer circulation, blowing pattern, temperature setting, refrigeration, air quantity, shutdown key-press status, and these key-press status are converted to key value, notification model is handled.
6, air conditioning for automobiles control framework according to claim 1 and 2, it is characterized in that: described model is used for logical operation, conversion is gathered according to analog digital data, operation signal carry out logical operation, change blowing pattern, goal-setting temperature, air quantity, compressor or the interior external circulating system state of air-conditioning system.
7, air conditioning for automobiles control framework according to claim 1, it is characterized in that: the control of described basis drives and is used for drive pattern, mixing, water valve and loop control actuating motor, blower speed adjusting module, output compressor, back defrosting control signal.
8, air conditioning for automobiles control framework according to claim 1, it is characterized in that: described task comprises: driving, control logic computing, motor positioning control and input signal acquisition process are handled, show, exported to key scan, button.
CNA2009100989643A 2009-05-27 2009-05-27 Automobile air-conditioning control framework Pending CN101571310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2009100989643A CN101571310A (en) 2009-05-27 2009-05-27 Automobile air-conditioning control framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2009100989643A CN101571310A (en) 2009-05-27 2009-05-27 Automobile air-conditioning control framework

Publications (1)

Publication Number Publication Date
CN101571310A true CN101571310A (en) 2009-11-04

Family

ID=41230732

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2009100989643A Pending CN101571310A (en) 2009-05-27 2009-05-27 Automobile air-conditioning control framework

Country Status (1)

Country Link
CN (1) CN101571310A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104678820A (en) * 2013-11-29 2015-06-03 北汽福田汽车股份有限公司 Embedded foreground/background system and control method thereof
CN104864544A (en) * 2014-02-21 2015-08-26 大金工业株式会社 Setting method for air conditioner operating modes

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104678820A (en) * 2013-11-29 2015-06-03 北汽福田汽车股份有限公司 Embedded foreground/background system and control method thereof
CN104864544A (en) * 2014-02-21 2015-08-26 大金工业株式会社 Setting method for air conditioner operating modes
CN104864544B (en) * 2014-02-21 2019-07-16 大金工业株式会社 The setting method of air-conditioner operation mode

Similar Documents

Publication Publication Date Title
WO2020155621A1 (en) Motor control method and device
CN203957780U (en) A kind of vehicle air conditioning control system
CN113093565B (en) Control method and control platform for electronic equipment, electronic equipment and storage medium
CN1932128A (en) Double-control single-wire communication washing machine control system
CN106205091A (en) The remote control thereof of a kind of unmanned plane and remote control unit
CN102032642A (en) Control method of variable frequency air conditioner
CN101571310A (en) Automobile air-conditioning control framework
CN201706626U (en) Automobile air conditioning control framework
CN202188585U (en) Air conditioner debugging instrument
CN111076374B (en) Air conditioner communication method based on intelligent board and air conditioner
CN201463176U (en) Micro-kernel device applied to control software of automobile air conditioner control panel products
CN2709323Y (en) Label printing machine
CN104317287A (en) Motor signal simulation method and system
CN212627555U (en) Integrated Hall-free brushless direct current motor equipment and electric device
CN208565046U (en) Fan intelligent control device and control switch
CN202643017U (en) Integrated high-efficiency energy-saving driving device
CN219018701U (en) Permanent magnet synchronous motor unit control system and permanent magnet synchronous motor unit
CN101566381A (en) Microkernel kernel system applied in control software of vehicle air conditioning control panel products
CN218672566U (en) Air conditioner control system
CN111897235A (en) Multifunctional hotel RCU system
CN212785934U (en) Intelligent touch panel based on commercial vehicle
CN112650383A (en) Application program control method and device, electronic equipment and storage medium
CN218273367U (en) Portable device for programming and storing software
CN219164770U (en) Light source control circuit and light source controller with same
CN216870796U (en) Portable debugging device for anti-smashing radar of barrier gate

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20091104