Three, utility model content:
Technical problem to be solved in the utility model: at background technology prior art deficiency, a kind of multichannel central air conditioner taximeter based on the BUS bus is proposed, connect realization by a plurality of CPU by serial communication mode and detect the interface dilatation to reach the purpose that a plurality of central air conditioner fan coils charge, adopt two-wire system BUS bussing technique, realize taximeter power supply and communication function simultaneously, and nonpolarity connection, improved the power supply and the communication of 485 buses greatly and carried out the restriction that polarity connects by two pairs of electric wires, easy to use.
The technical scheme that the utility model adopted:
A kind of multichannel central air conditioner taximeter based on the BUS bus, contain processor module, power module, input end connects the blower fan gear and the blower fan valve detection module of the some of different fan coils, processor module contain host CPU that interactive communicate connects and some from CPU, main, control interface from the corresponding control interface of CPU or I/O interface storage module during respectively with separately prison, data-interface and read-write synchronous clock interface connect, connect the blower fan gear of multichannel fan coil and the height of blower fan valve detection module, in, low-grade blower fan and valve state output signal insert the processor module master respectively, corresponding I/O interface from CPU, host CPU with processor module is connected with BUS bus communication power module, the corresponding serial communication interface that connects host CPU of the serial communication interface of BUS bus communication power module, the bus data interface of BUS bus communication power module is realized being connected with external bus is nonpolarity by preposition electric bridge, and taximeter is realized finishing power supply and communication function simultaneously by two plain conductors by the bus communication power module.
Described multichannel central air conditioner taximeter based on the BUS bus, also contain branch family total valve control output and detection module, divide family total valve control output and detection module to adopt optocoupler 521 realization strong and weak electricities to isolate, divide the input end of family total valve detection module to connect the valve working power supply, divide an I/O interface of the isolation output terminal connection processing device module host CPU of family total valve state detection module; The corresponding I/O interface that divides the input control end connection processing device module host CPU of family total valve control module, its control output end control linkage valve working electric power loop is to realize the arrearage forbidding; The output terminal of fan coil blower fan gear and blower fan valve detection module is electrically connected with one group of four I/O interface of CPU realizes state recognition and function of measuring.
Described multichannel central air conditioner taximeter based on the BUS bus, be connected with the main display board communication module with the processor module host CPU, the main display board communication module is isolated the one-line communication altogether of realization simulation by the corresponding I/O interface and the optocoupler 521 of host CPU program setting, during transmission, an I/O interface of host CPU is exported high/low level coding, trigger the on/off of communication output optocoupler and export the high-low level coding synchronously, realize that data send at the COMM end; During reception, the I/O interface output high level of host CPU, the high/low level coding of COMM end triggers the break-make of communication input optocoupler, exports high/low level coding at the optocoupler output terminal synchronously and detects for host CPU, realize Data Receiving, taximeter connects main display board by the main display board communication module.
The master and slave CPU of processor module adopts the erasable cpu chip of AT89S52 dual inline type of atmel corp, perhaps selects in PIC16 series, PHILIPS89 series, the MSP family chip any one for use; BUS bus communication power module adopts integrated circuit (IC) chip CMT001 or TSS721, and BUS bus communication power module adopts isolation module to connect with being connected of processor module CPU communication interface.
Described multichannel central air conditioner taximeter based on the BUS bus, host CPU be connected in the mode of serial communication from CPU, the high, medium and low shelves of blower fan gear that is connected with each fan coil respectively by the corresponding I/O interface of master and slave CPU program setting and valve detection module are connected with the valve state signal output interface, realize the billing function of 1~N central air conditioner fan coil, wherein N is a natural number; Be connected with the operation indicating module with primary processor with from processor.
The utility model is mainly used in the effective time of indirect metering central air conditioner fan coil operation based on the multichannel central air conditioner taximeter of BUS bus, utilizes W=∑ Pi*ti (to annotate: W: equivalent energy value; Pi: the calibration power of the corresponding gear of fan coil is provided by producer; Ti: " effectively " working time of fan coil respective notch, be that central air conditioner supply water temperature when refrigeration is less than T0, during heating greater than the working time of T1 in the time) formula calculates the calculating energy that this central air conditioner fan coil consumes, and always calculates the expense that proportion is shared central air conditioner in the energy with this calculating energy in central air conditioner system.
Useful good effect of the present utility model:
1, the utility model storage module, gear detection module and BUS communication power supply module basic module when containing much more main processor modules from CPU, prison formed, by host CPU to a plurality of from the mode dilatation charging detection port of CPU with serial communication, realize multi type air-conditioner fan coil billing function, by adopting BUS bus communication power module, utilize the BUS bussing technique to realize that simultaneously taximeter is powered and communication is finished by two common wirings, and nonpolarity connection has improved the power supply of RS485 bus greatly and has carried out the restriction that polarity is connected with communication by two pairs of electric wires.Realized the central air conditioner charging that produces effect, simplified mounting process and wiring cost, simple in structure, cost is low, and is easy to use.
2, the utility model divides family total valve state-detection and control module based on the multichannel central air conditioner taximeter of BUS bus by adopting, and has realized the arrearage disable function, also is provided with the operation indicating module, convenient centralized management and working service.
3, the utility model has more simple and reliable household management function based on the multichannel central air conditioner taximeter of BUS bus, and network is realized simple, and communication is reliable, and is easy to maintenance.Can be fixed on the indoor or outdoor correct position of user during use, create condition, can realize-3 ,-5 for realizing not registering one's residence keeping in repair, more than-8 kind of blower fan combination, the user can select flexibly.
Five, embodiment:
Embodiment: referring to Fig. 1, present embodiment contains processor module based on the multichannel central air conditioner taximeter of BUS bus, power module, input end connects the blower fan gear and the blower fan valve detection module of the some of different fan coils, processor module contain host CPU that the two-way interactive communication connects and some from CPU, main, storage module when CPU is connected with separately prison respectively, the control interface of storage module when each is supervised, data-interface and read-write synchronous clock interface connect corresponding control interface or the I/O interface of CPU separately respectively, connect the blower fan gear of multichannel fan coil and the height of blower fan valve detection module, in, low-grade status signal and valve signal insert the processor module master respectively, corresponding I/O interface from CPU, the corresponding serial communication interface that connects BUS bus communication power module of the serial communication interface of processor module host CPU, the data-interface of BUS bus communication power module is connected by preposition electric bridge and external bus are nonpolarity simultaneously; For the ease of centralized management, realize the arrearage disable function, the taximeter design has branch family total valve control output and detection module, divide family total valve control output and detection module to adopt optocoupler 521 realization strong and weak electricities to isolate, divide the input end of family total valve detection module to connect the valve working power supply, divide an I/O interface of the isolation output terminal connection processing device module host CPU of family total valve state detection module; The corresponding I/O interface that divides the input control end connection processing device module host CPU of family total valve control module, its control output end control linkage valve working electric power loop; By taximeter operation indicating module running indicator and morse signal light bright/situation of going out, operation and communication situation that can simple knowledge CPU module, and can select large-screen lc to show show more information.
The utility model central air conditioner charge system adopts " producing effect " charging principle and " time-based charging " method, adopt the management of BUS bus communication centralized automatic meter-reading, accurately discern the fan coil operational taps and measure it and " produce effect " time, utilize management software to handle automatically by setup program and calculate the energy that each typhoon coiler consumes, being applied to any is terminal central air conditioner system with the fan coil.Solved the difficult problem that central air conditioner " uses charge according to quantity " as required in simple mode.Main by one, one connects realization from (two or more) CPU by serial communication mode detects the interface dilatation, to reach the purpose that a plurality of central air conditioner fan coil monitorings are chargeed, the utility model meter for air conditioner is under the centralized management of CPU module, receive the order of host computer and return related data or order by BUS bus communication/power module to host computer, the CPU module is after receiving host computer and beginning keep cost order, detect and measure producing effect working time of fan coil by fan coil gear identification module, when once being stored in prison in per 10 minutes in the memory circuit module, and can after receiving PC control (switch valve) instruction, realize switch valve control function by control module.
Referring to Fig. 2~Fig. 9, be the utility model taximeter circuit theory synoptic diagram.Memory module connection diagram when Fig. 2, Fig. 5 are respectively master and slave CPU and prison, host CPU adopts the erasable cpu chip of AT89S52 dual inline type of atmel corp, by the definition of software to the function pin, realizes each functions of modules.(host CPU also can be selected PIC16 series, PHILIPS89 series, MSP family chip for use).The 5th pin of storage module X5045 when the 1st pin of host CPU connects prison; The 2nd pin of storage module X5045 when the 3rd pin connects prison; The 6th pin of storage module X5045 when the 4th pin connects prison; The 1st pin of storage module X5045 when the 5th pin connects prison; The 7th pin of storage module X5045 when the 9th pin connects prison; The data output end of the 16th pin jointing temp sensor DS18B20 of host CPU; The 18th, 19 pin of host CPU connect X1 end, the X2 end of crystal oscillator CZ1 respectively; The 20th pin of host CPU connects the GND end of power module; The 40th pin connects the VCC end of power module; C8 is a decoupling capacitance among the figure, and PR2 draws exclusion on being.
The 3rd pin of storage module X5045 connects+the 5V power supply during main prison, but makes X5045 be in the stored data state always, the 4th pin ground connection of X5045, the 8th pin of X5045 connects+the 5V power supply just, detect to X5045 power supply and low-voltage.Storage module has the under-voltage protection function during main the prison, and 8 pin detect input voltage and are lower than when setting protection voltage, to high level of host CPU output, force host CPU to quit work by the 7th pin; Function during prison: do not receive low level signal when X5045 the 1st pin surpasses setting-up time, export a high level by the 7th pin to host CPU immediately, force host CPU to restart; Reading and writing data: during stored data, 1 pin is put low level, and 3 pin are put high level, and 5,6 pin write data synchronously; During reading of data, 1 pin is put low level, 2,5 sense datas; Wherein C6 is a decoupling capacitance, and R1 is a pull-up resistor.
Adopt the erasable cpu chip of AT89S52 dual inline type of atmel corp from CPU,, realize each functions of modules by the definition of software to the function pin.Connect crystal oscillator CZ3 from the 18th, 19 pin of CPU; The 20th pin connects the GND end of power module; The 40th pin connects the VCC end of power module; C22 is a decoupling capacitance among the figure, and PR3 is a pull-up resistor.1,2,3,4 pin of memory module AT24C04 connect+5 pin of the 5V power supply ground AT24C04 (data I/O) that links to each other with the 14th pin ATDATA from CPU from when prison, 6 pin of AT24C04 and link from the 15th pin ATSCL of CPU (clock), 7 pin of AT24C04 connect+5V power supply ground, but make 24C04 be in the stored data state always, 8 pin of AT24C04 connect+and the 5V power supply is just, C25 is a decoupling capacitance, and R36, R37 are pull-up resistors.
The 2nd pin of host CPU connects the 11st pin from CPU; The 8th pin of host CPU connect from CPU the 10th pin; The 38th pin of host CPU connects 9 pin from CPU, control resetting from CPU; The 39th pin of host CPU connects 17 pin from CPU, realizes periodic monitor.
Fig. 3 is the multichannel central air conditioner taximeter power module based on the BUS bus, form by circuit of three-terminal voltage-stabilizing integrated 7805, diode D6 prevents to import power supply and connects anti-damage product, and C10, C3 are respectively input, outgoing side low frequency filtering electric capacity of voltage regulation, eliminates power supply and disturbs.C4 is a high-frequency filter capacitor.
Fig. 4 is the main display board communication module: by optocoupler 521 and the existing analog communication of the common I/O cause for gossip of CPU, R12 is a pull-up resistor; R10, R11 are current-limiting resistances; The main DOUT end (T2COM_R/TXD2 end) of communication module that shows connects 37 pin of host CPU, main 13 pin that show the DINT termination host CPU of communication module, realization power supply just, power supply ground and the three-way communication of connection.During transmission, host CPU is exported high/low level coding and is triggered the U6 on/off, exports the high-low level coding synchronously at the COMM end, realizes that data send; During reception, host CPU output high level, the high/low level coding of COMM end triggers the U7 break-make, detects for host CPU in the high/low level coding of DINT end output synchronously, realizes Data Receiving.Display interface device (J1): 1, COMM connects the communication terminal (COMM) of display; 2 ,+12V connect display power supply (+12V); 3, GND connects the ground (GND) of display.
Fig. 6 is for dividing family total valve control output and detection module:
It is the master control device that relay is adopted in A, valve output; realize the control signal isolation by light every 521; resistance R 17, R16 are current-limiting resistance; resistance R 19 is a pull-up resistor; R18 is a pull down resistor; capacitor C 14 is a filter capacitor; capacitor C 13 is for the venting valve gate control signal; the time-delay control action, triode 9013 drives amplifying circuit for relay, and D10 eliminates diode for the relay back electromotive force; D9; D11 is a system voltage protection diode, and optocoupler 521 is realized the drive signal isolation, and the protective valve gate control drives pin.
The valve control CONT1 of branch family total valve control module connects the 6th pin of host CPU, civil power live wire AC220L connects the 2nd pin of valve control plug J5, the normally closed output of valve OUT connects 3 pin of valve control plug J5, valve is often opened the 4th pin that output OUT2 meets valve control plug J5, by-pass valve control output interface (J5): 1,220N connects the civil power zero line, 2,220L connects the civil power live wire, 3, the output of OUT1 valve, 4, the OUT2 valve exported for 2 (being used for special motorized valve), when the CONT1 of host CPU pin is put when low, optocoupler 521 not conductings, triode 9013 base stages are dragged down, no drive current, relay disconnect valve and often open output OUT2 conducting; When the CONT1 of host CPU pin is put when high, optocoupler 521 conductings, triode 9013 base stages are drawn high output driving current, and relay closes the normally closed output of full valve OUT conducting.
B, valve detection adopt optocoupler 521 to realize the strong and weak electricity isolation, and R9 is the power current-limiting resistance, and R13 is a pull-up resistor, and D7 is the half-wave rectification diode, and D8 is reverse protection diode, and C13 is filter capacitor (playing the burning voltage time-lag action).3,1 pin of valve output OUT and civil power zero line AC220N corresponding plug J5, valve detection CHECK1 connects the 7th pin of host CPU.Optocoupler U9 conducting when OUT has voltage output, CHECK1 is low (state left by valve), and exporting when the OUT no-voltage is not conducting of optocoupler U4, and CHECK1 is high (state left by valve).
Fig. 7 is fan coil blower fan gear and blower fan valve detection module, and present embodiment adopts a master, from two CPU, has 9 blower fan detecting units; All blower fan detection cell circuit principle unanimities, valve detection detect with each gear and are connected corresponding C PU pin, and there are 5 interfaces each detecting unit and outside, are defined as follows on the wiring board: " 220NO x " give a dinner for a visitor from afar zero line of machine X; " 220LO x " give a dinner for a visitor from afar valve output line of machine X; " HO x " give a dinner for a visitor from afar high-grade output line of machine X; " MO x " give a dinner for a visitor from afar middle-grade output line of machine X; " LO x " give a dinner for a visitor from afar low-grade output line of machine X.
A, valve detect: adopt optocoupler 521 to realize the strong and weak electricity isolation, R43, R44 are the power divider resistance, and R48 is last connecting resistance, and D51 is the half-wave rectification diode, and D52 is reverse protection diode, and C51 is a filter capacitor.2,1 pin of blower fan valve output 220LO x, blower fan civil power zero line 220NO x corresponding plug, optocoupler conducting when 220LO x has voltage output, blower fan valve detection F x is low (state left by valve), when the output of 220LOx no-voltage is not conducting of optocoupler, F x detects and is high (state left by valve)
B, gear detect: adopt optocoupler 521 to realize the strong and weak electricity isolation; R45, R46, R47 are the power current-limiting resistance; R49, R50, R51 are pull-up resistor; D53, D55, D57 are the half-wave rectification diode; D54, D56, D58 are reverse protection diode; C53, C54, C55 are filter capacitor (playing the burning voltage time-lag action).Detect the high, medium and low shelves of fan coil X input voltage by comparator circuit, compare with standard input voltage 220LO x, the not conducting of gear optocoupler that equates, it is 1 (high level) that host CPU detects pin, two other gear conducting, it is 0 (low level) that host CPU detects pin, and promptly the gear that voltage is equal is an operational taps.It when 220LOx does not import neutral gear.Each blower fan detecting unit connects: 1, the 220N X zero line of machine X of giving a dinner for a visitor from afar; 2, the F X valve output line of machine X of giving a dinner for a visitor from afar; 3, the H X high-grade output line of machine X of giving a dinner for a visitor from afar; 4, the M X middle-grade output line of machine X of giving a dinner for a visitor from afar; 5, the L X low-grade output line of machine X of giving a dinner for a visitor from afar, wherein X represents X fan unit.Promptly can connect LX end, MX end, HX end, the FX end of each fan coil respectively by the program setting host CPU with from the every tetrad of surplus I/O interface of CPU.
Referring to Fig. 8, based on the uplink communication function of the multichannel central air conditioner taximeter of BUS bus is to be that the BUS communication power supply module that core is formed realizes with communication chip CMT001, uplink communication is born by host CPU, and BUS bus communication power module is realized the nonpolarity connection of outside line by preposition electric bridge B.The reception RX/ of CMT001 sends TX data pin (6,5 pin) the 10th, 11 pin direct respectively and host CPU and links, the pattern that also can be designed to electrical isolation improves system's anti-interference (receive RX/ transmission TX data pin (6,5 pin) and connect with RXD1, the TXD1 of isolation module respectively, the 10th, 11 pin of the RXD2 of isolation module, TXD2 and host CPU link).The power supply of taximeter and communication interface (J2) during installation: DC24V+, DC24V-are connected the bus communication/power interface of local area zone manager respectively, utilize the BUS bussing technique to realize taximeter power supply and communication simultaneously by two common wirings.
Fig. 9 is operation indicating module, R6, R7, R31, R32 is a current-limiting resistance, and LED control end low level is effective, host CPU operation LED2 flicker just often, from CPU operation LED5 flicker just often, uplink communication (reception) just often LED1 overturns once, LED4 flicker during the master-slave cpu communication.The 14th pin that the CPU_RUN end of indicating module connects CPU connects; The LED_COM end of indicating module connects the 15th pin of host CPU; The CPU_RUN2 end of indicating module connects the 13rd pin from CPU; The LED_COM2 end of indicating module connects the 16th pin from CPU.