CN100429467C - Temperature controller for show cabinet - Google Patents

Temperature controller for show cabinet Download PDF

Info

Publication number
CN100429467C
CN100429467C CNB2005100878426A CN200510087842A CN100429467C CN 100429467 C CN100429467 C CN 100429467C CN B2005100878426 A CNB2005100878426 A CN B2005100878426A CN 200510087842 A CN200510087842 A CN 200510087842A CN 100429467 C CN100429467 C CN 100429467C
Authority
CN
China
Prior art keywords
data
mentioned
temperature
video data
serial data
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
CNB2005100878426A
Other languages
Chinese (zh)
Other versions
CN1707208A (en
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.)
Fujikoki Corp
Original Assignee
Fujikoki Corp
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 Fujikoki Corp filed Critical Fujikoki Corp
Publication of CN1707208A publication Critical patent/CN1707208A/en
Application granted granted Critical
Publication of CN100429467C publication Critical patent/CN100429467C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Freezers Or Refrigerated Showcases (AREA)
  • Devices That Are Associated With Refrigeration Equipment (AREA)
  • Cold Air Circulating Systems And Constructional Details In Refrigerators (AREA)

Abstract

A first microcomputer 11 of the temperature control part 1 outputs serial data having a minus sign bit expressing a positive or negative sign, a first display data string expressing a figure in the ten's place, a predetermined first fixed data string, a second display data string expressing a figure in the one's place, and a predetermined second fixed data string. A second microcomputer 31 of the temperature display part 3 detects the first fixed data string and the second fixed data string from the serial data outputted from the temperature control part 1, detects the minus sign bit, the first display data string and the second display data string according to the array of the serial data, and displays the interior temperature in a display circuit 32.

Description

The temperature control equipment of showcase
Technical field
The present invention relates to the temperature control equipment that a kind of showcase is used, it comprises temperature control part and the temperature display part that links to each other with this temperature control equipment by holding wire; The temperature control equipment that the showcase that the holding wire that The present invention be more particularly directed to a kind of signal of clock when not required, can only use by a serial data communicates to the temperature display part from temperature control part is used.
Background technology
In the control of for example freezing/refrigerator display case of gondola sales food, can the serviceability temperature control device.Temperature control equipment is by forming with the lower part: detect the in-cabinet temperature of showcase, according to detected temperature and the temperature control part of design temperature control compressor and the temperature display part of demonstration in-cabinet temperature and operating condition.Usually, temperature control part is installed in the storeroom that is arranged in the showcase bottom, and the temperature display part is installed in the showpiece Exhibition Department away from storeroom.Therefore, temperature control part is connected by holding wire with the temperature display part.The temperature display part shows in-cabinet temperature and operating condition according to the signal that sends from temperature control part.
That is to say that No. 3156898 communique of Japan Patent (publication number: the spy opens flat 7-280408) discloses an example of this temperature control equipment.Shown in Figure 6 as the application, No. 3156898 disclosed temperature control equipment of communique of Japan Patent is by lead 65, and temperature control part 61 and temperature display part 63 are formed by connecting.
Temperature control part 61 for example is set in the storeroom of showcase, detect the in-cabinet temperature of showcase, relatively detected temperatures and design temperature are controlled compressor, and export with clock signal after the video data of in-cabinet temperature is converted to serial data.
Temperature control part 61 comprises: the CPU611 of control showcase in-cabinet temperature and transmission video data, stored program ROM612, the RAM613 of data such as storage design temperature, the display 614 that shows in-cabinet temperature and design temperature, the A/D converter section 615 of data signal will for example be converted to by the in-cabinet temperature of the analog signal that temperature sensing circuit detected that constituted by thermistor and resistance etc., by inputs such as button design temperature that sets and the I/O circuit 616 of exporting compressor control signal.
Temperature display part 63 is arranged in the front panel of showcase for example.Temperature display part 63 has when input clock signal, by obtaining the function that is converted to parallel data after the serial data synchronously with clock signal; And have when input clock signal by it and regularly in display, show the current temperature video data that keeps, and when input clock signal not, the video data control function that keeps by the parallel data control of obtaining after the conversion.
Temperature display part 63 comprises: serial signal is converted to the shift-register circuit 631 of parallel signal, latch circuit 632 that control shows output, decision latch circuit controlled condition resistance 633 and electric capacity 634 and show the display 635 of temperature by latch circuit control etc.Display 635 is made up of for example 27 piece of digital display elements and 11 section negative display element.
This temperature indicating device adopts clock synchronized model serial communication method to send out the transmission video data between temperature control part 61 and temperature display part 63.Under the situation that adopts clock synchronized model serial communication method, for the serial data with displays temperature is sent to the temperature display part 63 from temperature control part 61, being used to obtain temperature display part 63, to obtain the clock signal of the timing of serial data be necessary.Therefore, must will connect between temperature control part 61 and the temperature display part 63 by the lead 65 that is used to transmit the lead 65a of serial data and be used for the transmission clock signal.Therefore, need 2 to be used for the lead that data transmit.
In addition, the lead that connects temperature control part 61 and temperature display part 63 will connect up and not affect the appearance when effectively utilizing the space.For example, avoid the food Exhibition Department in the showcase cabinet and by the hollow leg that is positioned at four corners of showcase lead is connected up etc.Yet, if the lead number is more, just can't effectively utilize the space, simultaneously wiring operations becomes and takes time and energy in difficulty and the wiring process.
In addition, will be installed in by lead 65 in the storeroom temperature control part 61 be arranged on when linking together away from the temperature display part 63 on the showcase portion front panel of storeroom, the length of lead needs about 3 meters usually.Therefore, if the number of lead wires also just corresponding increase of its cost more at most.In addition, aspect noise, also can die down.
Summary of the invention
In view of the above problems, the object of the present invention is to provide a kind of showcase temperature control equipment, described device connects temperature control part and temperature display part by lead, and from temperature control part when the temperature display part transmits the serial data of displays temperature, do not need to be used to obtain to obtain the clock signal of the timing of serial data, and can be only by the serial data of 1 serial data with lead transmission displays temperature, can reduce the quantity of the lead that connects temperature control part and temperature display part thus, effectively utilize the space, make the wiring operation become easily simple simultaneously.
And then, the object of the present invention is to provide a kind of temperature control equipment of showcase, described device can connect the storeroom temperature control part that is provided with respectively and the long lead quantity of showcase portion temperature display part by reducing, thereby reduces the lead cost.
And, the object of the present invention is to provide a kind of temperature control equipment of showcase, even described device is by using long lead and connect temperature control part and the temperature display part communicating, its tolerance to noise is also still higher.
In addition, the objective of the invention is to reduce the quantity of the lead that connects temperature control part and temperature display part.
For addressing the above problem, showcase of the present invention (usefulness) temperature control equipment comprises:
The temperature control part of the in-cabinet temperature of control showcase and show the temperature display part of the in-cabinet temperature of this showcase, and have said temperature control part and said temperature display part by the structure that holding wire is connected, it is characterized in that:
The said temperature control part comprises the 1st microcomputer, detect temperature detecting unit, the compressor control unit of showcase in-cabinet temperature and be connected signal output unit on the above-mentioned holding wire,
In-cabinet temperature and design temperature control above-mentioned compressor control module that above-mentioned the 1st microcomputer is detected according to the said temperature detecting unit, temperature displayed in the said temperature display part is converted to video data, generation comprises the serial data of this video data and the fixed data of being scheduled to, this serial data is outputed in the above-mentioned signal output unit
Above-mentioned signal output unit outputs to above-mentioned serial data in the said temperature display part by above-mentioned holding wire,
The said temperature display part comprises the 2nd microcomputer, the signal input unit and the temperature display unit that are connected with above-mentioned holding wire,
Above-mentioned the 2nd microcomputer is by importing above-mentioned serial data, detecting said fixing data and above-mentioned video data, will output to corresponding to the signal of this video data the said temperature display unit and come displays temperature from this serial data from above-mentioned signal input unit.
In the temperature control equipment of above-mentioned showcase, above-mentioned serial data comprises: for example, and the negative position (minus bit) of the plus or minus symbol of expression displays temperature, the 1st video data of tens word of representing this displays temperature and the 2nd video data and above-mentioned predetermined the 1st fixed data and the 2nd fixed data of expression unit numbers.
In the temperature control equipment of above-mentioned showcase, above-mentioned the 1st fixed data and the 2nd fixed data make that for example above-mentioned the 1st video data forms different arrangements with the 2nd video data.
In the temperature control equipment of above-mentioned showcase, for example above-mentioned the 1st fixed data and the 2nd fixed data are 6 data length, the arrangement that above-mentioned the 1st fixed data is " 000101 ", above-mentioned the 2nd fixed data are the arrangement of " 110010 ", and the arrangement that perhaps above-mentioned the 1st fixed data is " 110010 ", above-mentioned the 2nd fixed data are the arrangement of " 000101 ".
In the temperature control equipment of above-mentioned showcase, for example above-mentioned the 1st video data and the 2nd video data are 7 data length.
In the temperature control equipment of above-mentioned showcase, for example the arrangement of above-mentioned serial data constitutes according to the order of the 1st start bit, above-mentioned negative position, above-mentioned the 1st video data, above-mentioned the 1st fixed data, the 1st stop bit, the 2nd start bit, above-mentioned the 2nd video data, above-mentioned the 2nd fixed data, the 2nd stop bit.
In the temperature control equipment of above-mentioned showcase, for example the serial data by being exported by the said temperature control part makes the shown data of said temperature display part form numeral, letter or symbol.
In the temperature control equipment of above-mentioned showcase, for example above-mentioned the 2nd microcomputer detects above-mentioned serial data every the predetermined scheduled time, and changes the above-mentioned scheduled time when can't stipulated number detecting the said fixing data.
In the temperature control equipment of above-mentioned showcase, for example above-mentioned the 2nd microcomputer is when detecting above-mentioned serial data, each position of the above-mentioned serial data of difference repeated detection, count detecting number of times by each detected level, and will detect the bit data of the more level of number of times as this.
In the temperature control equipment of above-mentioned showcase, for example above-mentioned the 2nd microcomputer has predetermined tables of data, relatively this tables of data and detected above-mentioned video data, only when any one data consistent of this video data and this tables of data, will output to corresponding to the signal of above-mentioned video data in the said temperature display unit with displays temperature.
In the temperature control equipment of above-mentioned showcase, for example above-mentioned the 1st microcomputer is repeatedly exported the above-mentioned serial data identical with above-mentioned video data continuously, above-mentioned the 2nd microcomputer only when the above-mentioned video data in the serial data of repeatedly importing is in full accord, will output to corresponding to the signal of this video data in the said temperature display unit with displays temperature.
In the temperature control equipment of above-mentioned showcase of the present invention, above-mentioned the 2nd microcomputer has for example predetermined tables of data, relatively this tables of data and detected above-mentioned video data, when any one data of this video data and this tables of data when pre-determined number can not reach consistent, change the above-mentioned scheduled time of detecting above-mentioned serial data.
Effect of the present invention is as follows:
According to the present invention, the 1st microcomputer of temperature control part generates and to comprise the video data of representing displays temperature and the serial data of predetermined fixed data, and this serial data is sent in the temperature display part.On the other hand, the 2nd microcomputer of temperature display part reads fixed fixed data from the serial data of being imported, and based on this, reading displayed data subsequently,
Thereby can carry out the temperature corresponding with this video data shows.Therefore, the clock signal that does not need to be used for obtaining reading the timing of serial data is sent to the temperature display part from temperature control part, and can only transmit by 1 serial data and transmit displays temperature with lead.Therefore, for example, can reduce the quantity of the lead that connects temperature control part and temperature display part, and can effectively utilize the space of showcase, make the wiring operation become simple and easy simultaneously.And then, owing to can reduce the quantity of long lead of the temperature display part of the temperature control part that is used to connect respectively the storeroom that is provided with and showcase portion, thereby can reduce the cost of lead.
And then, in a mode of the present invention, the arrangement of serial data is to constitute according to the 2nd video data of the unit numbers of the 1st fixed data of the intermediate point of the 1st video data of the shown temperature tens word of negative position, the expression of the symbol of the plus or minus of the 1st start bit, expression displays temperature, expression serial data, the 1st stop bit, the 2nd start bit, the shown temperature of expression, the 2nd fixed data of expression serial data terminating point, the order of the 2nd stop bit.Therefore, after detecting the 1st fixed data and the 2nd fixed data, can be according to the arrangement of serial data, by reading the data between this, detect ten and each video data of individual position of temperature displayed, and can carry out showing according to the temperature of this video data, therefore just do not need to be used to obtain to read the clock signal of the timing of serial data yet, and can only transmit the lead transmission displays temperature of usefulness, and can reduce the number of conductors that connects temperature control part and temperature display part by 1 serial data.Therefore, can effectively utilize the space of showcase, make the wiring operation become simple and easy simultaneously.And then, owing to can reduce respectively the long lead quantity of the temperature display part of the temperature control part of the storeroom that is provided with and showcase portion, thereby can reduce the cost of lead.
In addition, in a mode of the present invention, the 2nd microcomputer of temperature display part is for the serial data of exporting every the predetermined scheduled time from the 1st microcomputer of temperature control part, detect every the identical scheduled time, and when pre-determined number can not detect fixed data from serial data, change the scheduled time that the 2nd microcomputer detects serial data.Therefore, even when the Action clock of the Action clock of the 1st microcomputer and the 2nd microcomputer is inconsistent, also can detects fixed data, and can detect video data.Therefore, do not need to be used to obtain to read the clock signal of the timing of serial data, and can only transmit and transmit displays temperature, and can reduce the number of conductors that connects temperature control part and temperature display part with lead by 1 serial data.
In addition, according to the present invention, the 2nd microcomputer of temperature display part respectively the repeated detection serial data each position, detect level by each and count detecting number of times, to detect the more level of number of times as its bit data, therefore, even connect temperature control part and temperature display part to communicate, also can prevent owing to the mistake demonstration that influence caused of noise etc., and can carry out the high communication of noise tolerance by long lead.
In addition, in a mode of the present invention, the 2nd microcomputer of temperature display part has the table of the predetermined video data that can show, and with detected video data with the table in video data compare, only with any one data consistent the time, just show temperature according to video data.Therefore, even connect temperature control part and temperature display part to communicate, also can prevent owing to the mistake demonstration that influence caused of noise etc., and can carry out the high communication of noise tolerance by long lead.
In addition, in a mode of the present invention, the 1st microcomputer of temperature control part is repeatedly exported the serial data identical with video data continuously, and the 2nd microcomputer of temperature display part only when the video data of the serial data of repeatedly importing is in full accord, just shows the temperature according to video data.Therefore, communicate with the temperature display part, also can prevent owing to the mistake demonstration that influence caused of noise etc., and can carry out the high communication of noise tolerance even connect temperature control part by long lead.
And, in a mode of the present invention, the 2nd microcomputer of temperature display part has the table of the predetermined video data that can show, and the video data in detected video data and the table is compared, when during not with any one data consistent, changing the scheduled time that the 2nd microcomputer detects serial data at pre-determined number.Therefore, even when the Action clock of the Action clock of the 1st microcomputer and the 2nd microcomputer is inconsistent, also can detect video data.In addition, communicate with the temperature display part, also can prevent owing to the mistake demonstration that influence caused of noise etc., and can carry out the high communication of noise tolerance even connect temperature control part by long lead.
Description of drawings
Fig. 1: the block diagram that showcase temperature control device structure of the present invention is described.
Fig. 2: the sequential chart that the example of the serial data arrangement of using among the present invention is described.
Fig. 3: the key diagram of the example of the video data table that uses among the present invention
Fig. 4 A~4C: the flow chart that serial data generates and output is handled in the temperature control part of the present invention is described.
Fig. 5 A~5C: the flow chart that the detection processing of the serial data in the temperature display part of the present invention is described.
Fig. 6: the block diagram that the temperature indicating device structure of existing showcase is described.
The specific embodiment
Below, use accompanying drawing that showcase temperature control equipment of the present invention is described.
Fig. 1 forms the block diagram of overview for explanation showcase of the present invention is applicable to freezing/circuit during refrigerator display case with temperature control equipment.
The temperature control equipment of the showcase of present embodiment is made up of the lead 5 that temperature control part 1, temperature display part 3 and conduct are connected their holding wire.
Temperature control part 1 for example is set in place in the storeroom of showcase bottom.Temperature control part 1 will compare by thermistor 7 detected in-cabinet temperatures and the design temperature that is arranged in the showcase, and the compressor 9 that control is arranged in the storeroom is controlled with the in-cabinet temperature to showcase.
Temperature control part 1 comprises resistance circuit 12, on-off circuit 13, display circuit 14, repeat circuit 15, signal output apparatus 16 and the 1st microcomputer 11.
Resistance circuit 12 is made up of resistance etc., and has as becoming the function of the temperature-detecting device of aanalogvoltage by thermistor 7 detected temperature transition.On-off circuit 13 is used to import design temperature etc.Display circuit 14 constitutes, is used for display setting temperature and in-cabinet temperature by negative LED and the 7 sections LED etc. of showing.Repeat circuit 15 has the function as the compressor control device.Signal output apparatus 16 links to each other with the lead 5 that is used for serial data is outputed to temperature display part 3, is made of transistor etc., has the function of signal output apparatus.
The input of the 1st microcomputer 11 detecting in-cabinet temperature, and shows detected in-cabinet temperature from the aanalogvoltage of resistance circuit 12 in display circuit 14.In addition, the 1st microcomputer 11 compares detected in-cabinet temperature and the design temperature of importing from on-off circuit 13, according to comparative result,, and make the in-cabinet temperature that shows in the temperature display part 3 become serial signal to output in the signal output apparatus 16 by repeat circuit 15 control compressors 9.
Wherein, the 1st microcomputer 11 comprises: ROM 112, RAM 113, I/O circuit 114, A/D converter 115, timer 116, CPU 111.ROM 112 storage programs and predetermined data.RAM 113 is used to store the variablees of being imported such as design temperature.I/O circuit 114 is used to import design temperature from on-off circuit 13, to display circuit 14 output video datas (video data string), to repeat circuit 15 output compressor control signals, to signal output apparatus 16 output serial datas etc.A/D converter 115 will be converted to data signal from the aanalogvoltage of resistance circuit 12 inputs.The 116 instrumentation times of timer.CPU (central processing unit) 111 operated according to 112 program stored of ROM and data.For example CPU111 compares the design temperature of storage from the in-cabinet temperature of A/D converter 115 input and RAM 113, according to comparative result, the compressor control signal that will be used for controlling repeat circuit 15 outputs to I/O circuit 114, produce the serial data of the shown temperature of expression temperature display part 3, every the 116 detected scheduled times of timer, 11 ground of serial data is outputed in the signal output apparatus 16.
Temperature display part 3 for example is arranged in the front panel of showcase.Temperature display part 3 is according to the serial data that transmits through lead 5 from temperature control part 1, with the form demonstration in-cabinet temperature and the running status of numeral or letter or symbol.
Temperature display part 3 comprises signal input circuit 33, display circuit 32 and the 2nd microcomputer 31.Signal input circuit 33 is made of transistor etc., links to each other with lead 5 as holding wire, and has the function of input from the signal input apparatus of the serial data (serial signal) of temperature control part 1.Display circuit 32 is made of the resistance etc. that negative shows 321,27 sections LED322 of LED and 323, is used to limit electric current, has the function that shows the display unit of in-cabinet temperature and running status by numeral or letter or symbol.The input of the 2nd microcomputer 31 from the serial data of signal input circuit 33, detect the video data (video data string) that is included in this serial data, will output to corresponding to the signal of this video data in the display circuit 32 by the dynamic driving mode, show in-cabinet temperature or running status by numeral or letter or symbol.
The 2nd microcomputer 31 comprises: ROM 311, RAM 312, timer 313, I/O circuit 314, CPU 315.ROM 311 storage programs and predetermined data.Numeral or variable or data such as letter or symbol that RAM 312 storages show.The 313 instrumentation times of timer.I/O circuit 314 is used to import serial data from signal input circuit 33, shows signals etc. to display circuit 32 outputs.CPU 315 is according to ROM 311 program stored and data, the preset time of measuring every timer 313, detection is from the serial data of signal input circuit 33 inputs, and read the video data that is included in the serial data that is detected, to output to corresponding to the signal of this video data in the I/O circuit 314, in display circuit 32, show numeral or the letter or the symbol of expression in-cabinet temperature and operating condition.
In the temperature control equipment of the showcase with this structure, in temperature control part 1, the temperature input that resistance circuit 12 will be installed in the thermistor 7 in the showcase cabinet is converted to aanalogvoltage, and is provided in the 1st microcomputer.The 1st microcomputer uses A/D converter 115 that this aanalogvoltage is converted to numerical data and is input among the CPU 111.CPU111 obtains the in-cabinet temperature of showcase from numerical data, and is stored among the RAM 113.In addition, 111 couples of CPU compare from on-off circuit 13 design temperature and in-cabinet temperatures input, that be stored in the RAM 113, according to this comparative result, by I/O circuit 114 compressor control signal is exported in the repeat circuit 15, thereby ON (the startup)/OFF (stopping) to compressor 9 controls, with the in-cabinet temperature of control showcase.In addition, CPU 111 exports in the display circuit 14 by the demonstration signal of I/O circuit 114 with detected in-cabinet temperature, and shows in-cabinet temperature in display circuit 14.In addition, CPU 111 is according to institute's program stored among the ROM 112, and the plus or minus symbol transition of detected in-cabinet temperature is become shown negative position, the tens word is converted to the 1st shown video data (the 1st video data string), unit numbers is converted to the 2nd shown video data (the 2nd video data string).In addition, CPU 111 generates the serial data that the 2nd fixed data (the 2nd fixed data string), start bit and stop bit by the terminating point of the 1st fixed data (the 1st fixed data string) of the intermediate point of these data, the predetermined serial data of expression, expression serial data are constituted.And then CPU 111 is according to the instrumentation time of timer 116, and every preset time, 11 ground outputs to the serial data that is generated in the signal output apparatus 16 by I/O circuit 114.Signal output apparatus 16 will represent that the serial data of in-cabinet temperature shown in this temperature display circuit 3 outputs in the temperature display part 3 through lead 5.
Temperature display part 3 will be provided to the 2nd microcomputer 31 from the serial data of temperature control part 1 output by lead 5 and signal input circuit 33.In the 2nd microcomputer 31, CPU 315 detects the serial data of being imported by I/O circuit 314 according to the instrumentation time of timer 313 every the scheduled time, and it is stored among the RAM 312.In addition, detect the 1st fixed data of the predetermined serial data intermediate point of being stored among the expression ROM 311, the 2nd fixed data of expression serial data terminating point in the serial data that CPU 315 is stored from RAM 312, according to the arrangement of the serial data that begins from this position, detect negative position, the 1st video data of expression tens word, expression unit numbers the 2nd video data of the symbol of expression plus or minus.CPU 315 will output in the display circuit 32 by I/O circuit 314 corresponding to the signal of detected negative position, the 1st video data, the 2nd video data, control negative demonstration LED 321 and 27 sections LED 322 and 323 of display circuit 32 by the dynamic driving mode, and show in-cabinet temperature.
When CPU 315 can not be from the serial data being stored in RAM 312, detect expression when being stored in the 2nd fixed data of terminating point of the 1st fixed data of intermediate point of the predetermined serial data among the ROM 311 and expression serial data, CPU 315 changes the instrumentation time of timer 313, and changes the scheduled time (detecting the time interval of serial data) from the detection serial data of I/O circuit 314 inputs.
Below, in conjunction with Fig. 2, an example of the arrangement (structure) of serial data is described.
Serial data is based on the instrumentation time of timer 116, is generated by CPU 111.It is 3 milliseconds, the data length in 1 cycle 31 (93 milliseconds) that serial data for example has with 1.This serial data of 31 outputs to the temperature display part 3 from temperature control part 1 repeatedly.This serial data is by the 1st start bit Sta1 of Lo (low) level, the negative position Dm of the symbol of expression in-cabinet temperature plus or minus, the 1st video data D16~D10 of 7 of expression in-cabinet temperature tens word, predetermined 6 the 1st fixed data " 000101 " of expression serial data intermediate point, the 1st stop bit Sto1 of Hi (height) level, low level the 2nd start bit Sta2, the 2nd video data D06~D00 of 7 of expression in-cabinet temperature unit numbers, predetermined 6 the 2nd fixed data " 110010 " of expression serial data terminating point, constitute with the 2nd stop bit Sto2 of high level.
Here, with 7 sections display elements shown in the video data table shown in Fig. 3 A and Fig. 3 B, numeral and the letter of expression running status and the relation of symbol of the in-cabinet temperature that shows among 7 sections LED 322 and 323 of the 1st video data and the 2nd video data and display circuit 32 are described.For example, as shown in Figure 3, suppose that the numeral of the expression in-cabinet temperature of demonstration in 7 sections LED 322 or LED 323 is " 0~9 ", the letter and the symbol of expression running status are "-", " H ", " I ", " L ", " o ", " d ", " F " etc.In this case, the video data corresponding with these numerals and letter or symbol is stored among the ROM 112 of the 1st microcomputer 11 in the temperature control part 1 in advance as form.CPU 111 reads shown numeral or the corresponding video data of letter 7 sections LED 322 and 323 with display circuit 32 respectively from the video data table of ROM 112 when generating serial data.Here, the video data in the video data table of Fig. 3 A " g, f, e, d, c, b, a " is corresponding with each section " g, f, e, d, c, b, a " of 7 sections LED shown in the table 3B, and " 1 " is that the expression section is lighted, " 0 " is that the expression section is extinguished.
For example, in order to show digital " 0 " in 7 sections LED, according to the table of Fig. 3 A, as video data, section " f, e, d, c, b, a " is for lighting (" 1 "), section g for extinguishing (" 0 ") with " 0111111 ".In addition, for example, in order to show letter " H " in 7 sections LED, according to the table of Fig. 3 A, as video data, section " g, f, e, c, b " is for lighting (" 1 "), section " d, a " for extinguishing (" 0 ") with " 1110110 ".
Can recognize when comparing that the arrangement of the video data of being registered in the 1st fixed data " 000101 " and the 2nd fixed data " 110010 " and the video data table shown in Fig. 3 A is different as the table data of being registered in the video data table with Fig. 3 A and the 1st fixed data shown in Fig. 2 and the 2nd fixed data.That is to say that the arrangement of any 6 data that comprise in the video data of being registered in the 1st fixed data and the 2nd fixed data and the video data table is also inequality.Therefore, the 2nd microcomputer 31 can be differentiated the 1st video data and the 2nd video data, and the 1st fixed data and the 2nd fixed data.
Below, by reference Fig. 4 A~4C, the generation of serial data in the 1st microcomputer 11 of temperature control part 1 and output handled describing.
In the 1st microcomputer 11, have in the RAM 113 and stored serial data output counter D, carry-out bit counter B, the negative bit data of expression plus or minus symbol and the display data memory M of the 1st video data and the 2nd video data.The serial data output port Ps output of the serial data that the 1st microcomputer 11 generates from I/O circuit 114.
If the 1st microcomputer 11 is carried out institute's program stored in ROM 112, then by initialize routine, with serial data output counter D, carry-out bit counter B and display data memory M clear " 0 ".And serial data generation/output in the 1st microcomputer 11 shown in Fig. 4 A~4C is handled, and is the processing of being undertaken by the timer interrupt program of being stored among the ROM 112, and according to instrumentation time of timer 116, handles every 3 milliseconds.
In the 1st microcomputer 11, if start institute's program stored among the ROM 112, then at first, carry out initialize routine, CPU 111 is with the serial data output counter D, carry-out bit counter B, the display data memory M clear " 0 " that are had among the RAM 113.Then, CPU 111 carries out temperature control program, relatively be input to the in-cabinet temperature the CPU 111 and be input to the design temperature of CPU 111 by I/O circuit 114 from on-off circuit 13 from thermistor 7 by A/D converter 115, according to result relatively, control repeat circuit 15 is by controlling in-cabinet temperature with compressor 9ON/OFF.And CPU 111 carries out display routine, will be input in the display circuit 14 with the corresponding signal of detected in-cabinet temperature by I/O circuit 114, and show in-cabinet temperature in 7 sections LED of display circuit 14.
In addition, in initialize routine, CPU 111 starts timer 116, according to the instrumentation time of this timer 116, carries out timer interrupt program, the generation and the output function of the serial data of execution as shown in Fig. 4 A~4C every 3 milliseconds.
If CPU 111 carries out these timer interrupt programs, then at first, judge carry-out bit counter B whether be " 0 " (the 1st start bit Sta1) (S1).When being the 1st start bit Sta1, judge serial data output counter D whether be " 0 " (S2).When the serial data output counter D among the step S2 is " 0 ", owing to be the 1st time serial data output, therefore will be updated to up-to-date video data (S3) as negative position, the 1st video data and the 2nd video data of the video data of the in-cabinet temperature of display data memory M.
When the serial data output counter D among the step S2 is not " 0 ", owing to be the output of the 2nd serial data, therefore do not upgrade being used to export with the video data of the display data memory M of the 1st identical temperature video data.Then, owing to be start bit Sta1, therefore serial data port Ps is set to " 0 " (Lo) (S4).And, judge whether carry-out bit counter B is " 30 ", judges promptly whether whole the output in 1 cycle of serial data finishes (Fig. 4 C:S5).If carry-out bit counter B is not " 30 ", then, therefore make carry-out bit counter B counting add " 1 " (S56) because whole the output in 1 cycle of serial data does not finish, finish the processing of the 1st time timer interrupt program.
If the carry-out bit counter B among the step S5 is " 30 ", then since whole the output in 1 cycle of serial data finish, therefore with carry-out bit counter B clear " 0 " to carry out initialization (S7).Then, the serial data of judging 1 cycle of the output that is through be the 1st serial data output (serial data output counter D=0) still the 2nd serial data export (serial data output counter D=1) (S8).If serial data output counter D=0, then in order to finish the 1st time serial data output, the 2nd serial data of output in handling next time, D is set at " 1 " (S9) with the serial data output counter.If serial data output counter D is not 0, then serial data output counter D=1.At this moment, because the 2nd serial data output finishes, therefore export the 1st time serial data in handling next time, serial data output counter D is set to " 0 " (S10) for this reason, and finishes the processing of No. the 1st timer terminator.
Then, if through 3 milliseconds, then CPU 111 begins No. the 2nd timer interruption processing according to timer interrupt program, at first, and the judgement of execution in step S1.Here,, therefore judge whether carry-out bit counter B is " 1 ", that is, judge whether output timing (S11) into negative position because carry-out bit counter B has not been " 0 ".Here, when carry-out bit counter B is " 1 ", negative bit data with reference to display data memory M judges whether to light the negative LED (S12) of demonstration, when lighting the negative LED of demonstration, serial data output port Ps is set to " 1 " (S13), when not lighting the negative LED of demonstration, serial data output port Ps is set to " 0 " (S14).Then, enter step S5 (Fig. 4 C), judge whether carry-out bit counter B is " 30 ", promptly, whether whole output judging 1 cycle of serial data finishes, if carry-out bit counter B is not " 30 ", then owing to also do not export whole positions in 1 cycle of serial data, therefore make carry-out bit counter B counting add " 1 " (S6), finish the processing of the 2nd timer interrupt program.
Then, through 3 milliseconds, the timer of carrying out the 3rd time interrupts handling.So, the judgement of execution in step S1 and step S11 because carry-out bit counter B has not been " 0 " or " 1 ", therefore judges whether carry-out bit counter B is " 2 ", that is, judge whether to be the output of the g position of the 1st video data of expression tens word regularly (S15).Here, when carry-out bit counter B is " 2 ", with reference to the g position of the 1st video data in display data memory M, preserved, judge should " g " position whether be " 1 " (S16).When the g position was " 1 ", serial data output port Ps was set to " 1 " (S17), and when being not " 1 " in the g position, serial data output port Ps is set to " 0 " (S18).Then, enter step S5, judge whether output data counter B is " 30 ", promptly, whether whole output judging 1 cycle of serial data finishes, if carry-out bit counter B is not " 30 ", then owing to also do not export whole positions in 1 cycle of serial data, therefore carry-out bit counter B technology is added " 1 " (S6), finish the processing of the 3rd timer interrupt program.
Then, the timer of the 4th after 3 milliseconds interrupts handling, interrupt processing to the 9th time timer till, CPU 111 is every 3 milliseconds of execution and processing that step S15~step S18 is identical.Thus, CPU111 is stored in the f~a position of the 1st video data of the tens word among the display data memory M successively with reference to expression, and set serial data output port Ps in view of the above successively, every the 1st video data of 3 milliseconds the intervals tens word that the output expression shows from serial data output port Ps successively.
And then, if taking place after 3 milliseconds, No. the 10th timer interrupt, then begin to represent that by timer interrupt program the output of the 1st fixed data of the intermediate point of serial data handles.Promptly, the content of judging carry-out bit counter B whether be " 9 " (S19), when carry-out bit counter B is " 9 ", Ps is set at " 0 " (S20) with the serial data output port, and execution in step S5, step S6, make carry-out bit counter B counting add " 1 ", handle thereby finish the 10th timer interrupt program.
Then, the processing of the 11st timer interrupt program after 3 milliseconds, till the processing of the 15th timer interrupt program, by the processing that execution is identical with step S19, step S20 every 3 milliseconds, with the expression serial data intermediate point the 1st fixed data each the position, set gradually among the serial data output port Ps, and will represent that with 3 milliseconds interval the 1st fixed data " 000101 " of serial data intermediate point exports (step S21~step S23) successively from serial data output port Ps.
Then, interrupt, then carry out the output processing of the 1st stop bit Sto1 by timer interrupt program if No. the 16th timer takes place.Promptly, whether the content of judging carry-out bit counter B is " 15 " (Fig. 4: S31), when the carry-out bit counter is " 15 ", it is the output timing of the 1st stop bit Sto1, therefore serial data output port Ps is set to " 1 " (Hi) (S32), execution in step S5, step S6, and make carry-out bit counter B counting add " 1 ", finish the 16th timer interrupt program and handle.
Then, interrupt,, carry out the output of the 2nd start bit Sta2 and handle then by timer interrupt program if No. the 17th timer takes place.Promptly, the content of judging carry-out bit counter B whether be " 16 " (S33), when the carry-out bit counter is " 16 ", it is the output timing of the 2nd start bit Sta2, therefore serial data output port Ps is set to " 0 " (Lo) (S34), execution in step S5, step S6 make carry-out bit counter B counting add " 1 ", finish the 17th timer interrupt program and handle.
Then, interrupt, then, judge whether the content of digit counter B is " 17 ", that is, judge whether output timing (S35) into the g position of the 2nd video data of expression unit numbers by timer interrupt program if No. the 18th timer takes place.Here, when the carry-out bit counter is " 17 ", with reference to being stored in the g position of the 2nd video data among the display data memory M, judge this g position whether be " 1 " (S36), when the g position is " 1 ", serial data output port Ps is set to " 1 " (S37), when the g position was not " 1 ", serial data output port Ps was set to " 0 " (S38), execution in step S5, step S6, make carry-out bit counter B counting add " 1 ", finish the 18th timer interrupt program and handle.
Then, the processing of the 19th timer interrupt program after 3 milliseconds, till the processing of the 24th timer interrupt program, by the processing that execution is identical with step S35~S38 every 3 milliseconds, be stored in the f~a position of the 2nd video data of the unit numbers among the display data memory M successively with reference to expression, and set serial data port Ps in view of the above successively, will represent that with 3 milliseconds the time intervals the 2nd video data of the unit numbers of demonstration is exported successively from serial data output port Ps.
And then, after 3 milliseconds,, No. the 25th timer interrupt if taking place, then by timer interrupt program, begin to represent that the output of the 2nd fixed data of serial data terminating point is handled.That is, judge carry-out bit counter B whether be " 24 " (S39), when carry-out bit counter B is " 24 ", Ps is set at " 1 " (S40) with the serial data output port, execution in step S5, step S6 make carry-out bit counter B counting add " 1 ", finish the 25th timer interrupt program and handle.
Then, the processing of the 26th timer interrupt program after 3 milliseconds, till the processing of the 30th timer interrupt program, by the processing that execution is identical with step S39, step S40 every 3 milliseconds, each position of the 2nd fixed data of the terminating point of expression serial data is set gradually among the serial data output port Ps, and will represent that with 3 milliseconds the time interval the 2nd fixed data " 110010 " of the terminating point of serial data exports (step S41~step S50) successively from serial data output port Ps.
Then, interrupt,, carry out the output of the 2nd stop bit Sto2 and handle then by timer interrupt program if No. the 31st timer takes place.Promptly, the content of judging carry-out bit counter B whether be " 30 " (S51), when the content of carry-out bit counter B is " 30 ", it is the output timing of the 2nd stop bit Sto2, therefore serial data output port Ps is set to " 1 " (Hi) (step S52), proceed to step S5, here, when carry-out bit counter B is " 30 ", with carry-out bit counter B be clearly " 0 " (S7), then, judge serial data output counter D whether be " 0 " (S8), when serial data output counter D is " 0 ", become the 2nd time serial data in order to handle from next time, serial data output counter D is set to " 1 " (S9), finishes the 31st timer interrupt program and handles.Like this, the serial data output in 1 cycle that is through with.
In above-mentioned processing, when carry-out bit counter B was " 0 " (the 1st start bit Sta1), serial data output port Ps was set to " 0 "; When carry-out bit counter B was " 9,10,11,12,13,14 " (the 1st fixed data of expression serial data intermediate point), serial data output port Ps was set to " 000101 "; When carry-out bit counter B was " 15 " (the 1st stop bit Sto1), serial data output port Ps was set to " 1 "; When carry-out bit counter B was " 16 " (the 2nd start bit Sta2), serial data output port Ps was set to " 0 "; When carry-out bit counter B was " 24,25,26,27,28,29 " (the 2nd fixed data of expression serial data terminating point), serial data output port Ps was set to " 110010 "; When carry-out bit counter B was " 30 " (the 2nd stop bit Sto2), Ps was set to " 1 " respectively with the serial data output port.These data are predetermined fixed data.
Then, the processing of CPU 111 repeated execution of steps S1~step S52 finishes the 2nd serial data output.Like this, from temperature control part 1 identical data are outputed to the temperature display part 3 for continuous 2 times.
On the other hand, in temperature display part 3, the 2nd microcomputer 31 detects from the serial data of temperature control part 1 output, according to the negative position of the plus or minus of expression in the detected serial data number, the 1st video data of expression tens word, the 2nd video data of expression unit numbers, 321,27 sections LED 322 and 323 of negative demonstration LED of display circuit 32 are lighted control by the dynamic driving mode.
Wherein, the 2nd microcomputer 31 has following function: every the scheduled time by timer 313 instrumentations, CPU 315 detects by I/O circuit 314, the function of the serial data from signal input circuit 33 output CPU 315 and CPU 315 are saved in function among the RAM 312 with detected serial data.
And then in the 2nd microcomputer 31, ROM 311 preserves the 1st fixed data of expression serial data intermediate point, the 2nd fixed data of expression serial data terminating point.CPU 315 has following function: the 1st fixed data and the 2nd fixed data that are kept at the serial data among the RAM 312 and be kept among the ROM 311 are compared, detecting the 1st fixed data and the 2nd fixed data on the serial data, and detect the 1st video data and the 2nd video data on the serial data that begins from this position.
In addition, when CPU 315 can not be from the serial data being kept at RAM 312 when pre-determined number detects the 1st fixed data and the 2nd fixed data, change the instrumentation time of timer 313, detect the scheduled time that is input to the serial data among the CPU 315 to change, CPU315 has the function that changes detection serial data interval.
And, in the 2nd microcomputer 31, when CPU 315 detects serial data, respectively repeated detection is carried out in each position of serial data, count detecting number of times by the incoming level of each detection, and be saved among the RAM 312.CPU 315 has following function: compare the detection number of times of each incoming level, with detecting the detection level of the more level of number of times as this, it is saved among the RAM 312.
In addition, in the 2nd microcomputer 31, has following function: video data table shown in Figure 3 is stored among the ROM 311, will from detected the 1st video data of serial data and the 2nd video data respectively with ROM 311 video data in the video data table of storage compare, only when the data that detect are consistent with any one video data in the table, just they are stored among the RAM 312, and demonstration signal that will be corresponding with these data outputs in the display circuit 32.
In addition, in the 2nd microcomputer 31, has following function: in 2 cycles of the sequential serial data of being imported, CPU 315 detected negative bit data and the 1st video data and the 2nd video data are stored into respectively among the RAM 312, CPU 315 compares respectively the storage data in these 2 cycles, only when it was consistent, demonstration signal that just will be corresponding with these data outputed in the display circuit 32.
And, in the 2nd microcomputer 31, have following function: any one data of stored video data table all can not be when pre-determined number be consistent in the 1st video data that CPU 315 is detected and the 2nd video data and ROM 311, change the Measuring Time of timer 313, detect the scheduled time that is input to the serial data among the CPU 315 to change, CPU 315 changes the interval of detecting serial data.
In having the showcase temperature control equipment of such function, the 2nd microcomputer 31 of temperature display part 3, is input to the CPU 315 from I/O circuit 314 every 3 milliseconds of serial datas from the 1st microcomputer 11 outputs of temperature control part 1 for example.
CPU 315 for example 1 millisecond, detects the serial data of importing every the time that timer 313 is measured.
When the incoming level of detected serial data is Hi (high level), the number of times of 315 couples of Hi of CPU is counted, when the incoming level of detected serial data is Lo (low level), the number of times of 315 couples of Lo of CPU is counted, after the detection number of times of serial data for example reaches 3 times, relatively the number of times of the number of times of the Hi of Ji Suaning and Lo is kept at a more side among the RAM 312 as this incoming level.Like this, even intrusions such as ambient noise are arranged, when incoming level changes in the serial data that is inputing to the 2nd microcomputer 31 by long lead 5, CPU 315 also can correctly detect the incoming level of serial data.
By carrying out this operation repeatedly, CPU 315 has detected whole positions in 1 cycle of serial data, and whole position of being detected is stored among the RAM 312, the 1st fixed data of the expression serial data intermediate point of being stored among serial data and the ROM 311 to storage and represent that the 2nd fixed data of serial data terminating point compares, and detects the 1st fixed data and the 2nd fixed data from serial data.
At this moment, when can not detect the 1st fixed data and the 2nd fixed data in pre-determined number the time, 1 millisecond of instrumentation time of 315 pairs of timers 313 of CPU changes, and 315 pairs of intervals of detecting serial data of CPU change.Promptly, in the time can not from serial data, detecting the 1st fixed data and the 2nd fixed data, owing to make the deviation that goes up the part characteristic, reach the variation of the part characteristic that causes by variations in temperature etc., make that the Action clock of the 1st microcomputer 11 and the 2nd microcomputer 31 is inconsistent, thereby the 1st in the microcomputer 11 time of timer 116 instrumentations and the time of timer 313 instrumentations of the 2nd microcomputer 31 become inconsistent, by changing the Measuring Time of the timer 116 in the 2nd microcomputer 31, the instrumentation time of the timer 313 in the 2nd microcomputer 31 can be adjusted to the 1st microcomputer in the instrumentation time synchronized of timer 116.Carry out this action repeatedly and from serial data, detect the 1st fixed data and the 2nd fixed data until the 2nd microcomputer 31, finally make the instrumentation time of the timer 313 in the 2nd microcomputer 31 and the instrumentation time synchronized of the timer 116 in the 1st microcomputer 11, owing to can from serial data, detect the 1st fixed data and the 2nd fixed data, therefore even without the clock signal that is used to obtain detect the timing of serial data, the 2nd microcomputer 31 also can detect from the serial data of the 1st microcomputer 11 outputs, the result, as the holding wire that can receive and dispatch serial data, only need 1 serial data just passable with lead.
Then, CPU 315 on the detected serial data the 1st fixed data and the position of the 2nd fixed data, according to the formation of the serial data shown in Fig. 2, detect the 1st video data of tens word on the expression serial data and the 2nd video data of expression unit numbers.Then, in the 2nd microcomputer 31, the video data of being registered in Fig. 3 video data table of 315 pairs of detected the 1st video datas of CPU and the 2nd video data and storage in ROM 311 compares respectively.Only work as the 1st video data that detected and the 2nd video data when consistent with any one video data of the video data table of ROM 311, CPU 315 just is stored in detected the 1st video data and the 2nd video data among the RAM 312, and demonstration signal that will be corresponding with these data is input in the display circuit 32.Like this, even have in the serial data of input from the 2nd microcomputer 31 by long lead 5 that ambient noise is invaded, serial data changes, when the 1st video data and the 2nd video data are detected with the form of the improper video data different with predetermined demonstration, CPU 315 also can cancel this improper video data, can prevent that mistake from showing.
In addition, in the 2nd microcomputer 31, CPU 315 will be kept at respectively the RAM 312 from the negative bit data of the serial data in 2 continuous cycles of the 1st microcomputer 11 output and the 1st video data and the 2nd video data, CPU 315 compares respectively the storage data in these 2 cycles, and only demonstration signal that just will be corresponding with these data when consistent outputs in the show circuit 32.Like this, even have in the serial data that is being input to by long lead 5 in the 2nd microcomputer 31 that ambient noise is invaded, the incoming level of serial data changes, when negative bit data or the 1st video data and the 2nd video data become the different improper video data of data with 11 outputs of the 1st microcomputer, also can cancel this improper video data, and can prevent that mistake from showing.
And any one all can not be when stipulated number be consistent in detected the 1st video data and the 2nd video data and video data table, and CPU 315 changes the instrumentation time of timers 313.By like this, CPU 315 changes the scheduled time of the serial data that detects input, and CPU 315 changes the interval of detecting serial datas.Promptly, in the time can not from serial data, detecting the 1st video data and the 2nd video data, can think because the deviation of the characteristic of the part of making, and by the variation of the part characteristic that variations in temperature caused etc., therefore make that the Action clock of the 1st microcomputer 11 and the 2nd microcomputer 31 is inconsistent, caused the asynchronism(-nization) of interior timer 313 instrumentations of the time that causes timer 116 instrumentations in the 1st microcomputer 11 and the 2nd microcomputer 31.At this moment, can be by changing the instrumentation time of timer 313, with instrumentation time of the timer 313 in the 2nd microcomputer 31 be adjusted into the 1st microcomputer 11 in the instrumentation time synchronized of timer 116.
Carry out this action repeatedly, until in the 2nd microcomputer 31, any one of the video data of detected the 1st video data and the 2nd video data and the video data table of ROM 311 reaches consistent.Finally, make the instrumentation time of the timer 313 in the 2nd microcomputer 31 and the instrumentation time synchronized of the timer 116 in the 1st microcomputer 11, thereby can from serial data, correctly detect the 1st video data and the 2nd video data.Therefore, even without the clock signal that is used to obtain detect the timing of serial data, the 2nd microcomputer 31 also can detect from the serial data of the 1st microcomputer 11 outputs.Consequently, as the holding wire that can receive and dispatch serial signal, only use a serial data just passable with lead.
Utilizing Fig. 5 A~5C that the detection of serial signal in the 2nd microcomputer 31 of temperature display part 3 is handled describes.
In the 2nd microcomputer 31, in RAM 312, have: the Hi counter H that the incoming level of serial data is counted during for Hi; The Lo counter L that the incoming level of serial data is counted during for Lo; The detection that the detection number of times of serial data is counted time counter T; The data storage DATA that 11 ground of detected serial data is carried out 31 storages; The memory X of negative position, the 1st video data and the 2nd video data of storage detection last time; Store the memory Y of negative position, the 1st video data and the 2nd video data of this detection; To in the time can not detecting the 1st fixed data or the 2nd fixed data or the detection error counter E that counts of the 1st video data or the 2nd video data and the video data table number of times when inconsistent; Preserve the memory S of video data.In addition, in ROM 311, storing the video data table shown in Fig. 3 A.And has the input port Pr of input serial data in the I/O circuit 314.
Here, in the 2nd microcomputer 31, if carry out the memory program of being preserved among the ROM 311, then by initialization with Hi counter H, Lo counter L with detect time counter T, data storage DATA, memory X, memory Y, error counter E clear " 0 ".Then, carry out main program, in the 2nd microcomputer 31, CPU 315 outputs to the video data that the memory S that has among the RAM 312 is stored in the display circuit 32 by I/O circuit 314, controls display circuit 32 to show in-cabinet temperature by the dynamic driving mode.Here, the serial data in the 2nd microcomputer 31 shown in Fig. 5 A~5C detects to be handled, and is to carry out the timer interrupt program that is stored among the ROM 311 by CPU 315 to realize.If CPU 315 begins the time instrumentation of timer 313 in initialize routine, then according to the instrumentation time of timer 313, every 1ms timer takes place and interrupt, the timer that CPU 315 carries out shown in Fig. 5 A~5C interrupts handling.
In the 2nd microcomputer 31, if according to instrumentation time of timer 313, the timer that takes place every 1 millisecond interrupts, and then begins the timer interrupt program among Fig. 5 A~5C.
At first, CPU 315 detects from the serial data of the input port Pr input of I/O circuit 314, judges whether incoming level is " 1 " (Hi) (S101).When input port Pr is " 1 ", the Hi counter H of RAM 312 counting is added " 1 " (S102).When input port Pr is not " 1 " and since incoming level be " 0 " (Lo), so the Lo counter L of RAM 312 added " 1 " (S103).Then, the value of time counter T of the detection by RAM 312 is judged the detection of serial data whether be through with predetermined times, for example 3 times (S104).When this detection time counter T is " 2 ", the detection of the pre-determined number that is through with will detect time counter T and be reset to " 0 " (S105), and the content of Hi counter H and Lo counter L is carried out size relatively (S106).
Here, if the content of Hi counter is bigger, the content of data storage DATA of RAM 312 that then at first will store detected 31 serial data is to 1 position (S107) of shifting left, and is set to " 1 " (S108) with among the 0th of data storage DATA.If the content of Lo counter is bigger, the content of data storages DATA of RAM 312 that then at first will store detected 31 serial data is to 1 position (S109) of shifting left, and is set to " 0 " (S110) with among the 0th of data storage DATA.Then, respectively the content of Hi counter H and Lo counter L is reset to " 0 " (S111).
Then, CPU 315 is unit with 31 of being stored among the data storage DATA with 6,11 ground is shifted, simultaneously, compare with the 1st fixed data " 000101 " of the expression serial data intermediate point that stores among the ROM 311, to judge in 31 of the serial datas of storing whether the 1st fixed data " 000101 " is arranged (S112).Here, when the 1st fixed data " 000101 " arranged among the data storage DATA, in 31 of the serial datas that CPU 315 is further stored up from data storage DATA, arrangement according to serial data shown in Figure 2, to 10 at detected the 1st fixed data rear continuous 6 data, compare with the 2nd fixed data " 110010 " that is stored in the expression serial data terminating point among the ROM 311, whether judgement has the 2nd fixed data " 110010 " (S113) in the pre-position of 31 Bits Serial data of storage.
In addition, when the 2nd fixed data " 110010 " is arranged among the data storage DATA, in 31 of the serial data of CPU 315 from be stored in data storage DATA, according to data arrangement shown in Figure 2, to be close to continuous 7 data of the front of detected the 1st fixed data, detect as the 1st video data of representing the tens word.The video data of being registered in the video data table that stores among the 1st video data of 315 pairs of detections of CPU and the ROM 311 compares, and judges that the 1st video data that detects is whether consistent with any one of the video data of being registered in the video data table.In addition, in 31 of the serial data of CPU 315 from be stored in data storage DATA, according to data arrangement shown in Figure 2, continuous 7 data of the front of detected the 2nd fixed data will be close to, the 2nd video data as the expression unit numbers detects, video data table shown in Figure 3 stored among the 2nd video data that detects and the ROM 311 is compared, the 2nd video data of judging detection whether with any one video data in the video data table consistent (S114).
Judgement by step S114, when from detected the 1st video data of data storage DATA and the 2nd video data when consistent with any one of the video data table of ROM 311 respectively, CPU 315 is according to the arrangement of the serial data shown in Fig. 2,1 of front who is close to detected the 1st video data is detected as negative bit data, with detected negative bit data, the 1st video data and the 2nd video data, be kept among the memory Y that is had among the RAM 312 (S115) as the data of this detection.Then, CPU 315 is to data, the 1st video data and the 2nd video data of the negative position of the memory Y of this detection, compare respectively with data, the 1st video data, the 2nd video data of the negative position of preserving among the memory X of the RAM 312 that last time detected, judge whether unanimity (S116).When unanimity, the video data corresponding with negative bit data, the 1st video data and the 2nd video data of memory Y is arranged on video data storage set among the RAM 312 with among the memory S (S117).Here, CPU 315 reads the video data that is kept among the RAM 312 memory S in main program, the video data of being read is outputed in the display circuit 32 by I/O circuit 314, control negative demonstration LED 321 and 7 sections LED322 and 323 of display circuit 32 by the dynamic driving mode, thereby in display circuit 32, show in-cabinet temperature.In addition, in step S116, when these storage data of last time storing data and memory Y of memory X are inconsistent, owing to be not correct data, so CPU 315 is not set to detected video data the video data storage of RAM 312 with among the memory S.
Then, CPU 315 with negative bit data, the 1st video data and the 2nd video data of the memory Y of the RAM 312 of this detection as last time detecting among the memory X that data are kept at RAM 312 (S118).Then, because the detection of serial data is normally carried out, will be used for therefore that " 0 " (S119) clearly to not detecting detection error counter E that the 1st fixed data or the 2nd fixed data or the 1st video data or the 2nd video data and the video data table number of times when inconsistent counts.
In addition, in the judgement of step S104, to serial data among the RAM 312 detect detection time counter T that number of times counts do not reach pre-determined number, for example when 3 times (T=2), because also not carrying out the detection of 3 serial datas handles, therefore will detect time counter T counting and add " 1 " (S119), not carry out the processing of above-mentioned steps S105~S118.In addition, the 1st fixed data in can not detecting above-mentioned steps S112 or can not detect the 2nd fixed data among the step S113 or in the 1st video data among the step S114 or the 2nd video data and the video data table any one when inconsistent, be judged as and correctly detect serial data, and the detection error counter E counting of RAM 312 is added " 1 " (S120).
Then, CPU 315 judges whether the value of the detection error counter E of RAM 312 surpasses the maximum of errors number, for example 155 (S121).When the value that detects error counter E is more than or equal to 155 the time, at first will detect error counter and be reset to " 0 " (S122), the timer data TD that will be used for being arranged on 1 millisecond time instrumentation of timer 313 then for example deducts " 1 " (S123).Then, CPU 315 judges that timer data TD is whether than the minimum setting value TDmin little (S124) of the predetermined timer data TD that preserves among the ROM 311.When timer data TD than TDmin hour, with timer data TD as the maximum of T Dmax that is kept at the predetermined timer data TD among the ROM 311, with the processing of stop timing device interrupt routine.In addition, in step S121, when the value that detects error counter E be than 155 hours, and in step S124, timer data TD when setting value TDmin more than or equal to minimum, does not carry out processing afterwards, the processing of stop timing device interrupt routine separately.
In the judgement of step S121, the maximum 155 that detects error counter E is the part in 5 cycles of 31 serial data, when CPU 315 can not correctly detect serial data continuously in 5 cycles, judge the time of timer 313 instrumentations in the 2nd microcomputer 31 and the asynchronism(-nization) step of timer 116 instrumentations in the 1st microcomputer 11, and by deducting " 1 " from the timer data TD that is used for 1 millisecond of timer 313 instrumentation, change the time of origin that timer interrupts, and 315 couples of CPU are in step S101, detection changes from the interval of the serial data of input port Pr input, and then by repeating this operation, finally make the time of timer 313 instrumentations in the 2nd microcomputer 31 and the time synchronized of timer 116 instrumentations in the 1st microcomputer 11, thereby can correctly detect serial data.In addition, in step S124 and step S125, the performance variation of considering the deviation of the part characteristic in the manufacturing and causing by temperature conditions etc., minimum of a value TDmin and maximum of T Dmax by timer data TD are set to suitable value, can reduce the excursion of timer data TD, consequently, in order to realize synchronization fast, by repeating to surpass the subtraction that needs among the step S123, till the instrumentation time synchronized of the timer 116 in the instrumentation time of the timer 313 in the 2nd microcomputer 31 and the 1st microcomputer 11, thereby need not the time that process surpasses to be needed.
Like this, by the serial data that sends at the 1st microcomputer 11 from temperature control part 1, enroll predetermined the 1st fixed data and the 2nd fixed data, because the 2nd microcomputer 31 of temperature display part 3 can at first detect the 1st fixed data and the 2nd fixed data in the serial data, then can be from the arrangement of serial data, detect negative bit data and the 1st video data and the 2nd video data as video data, therefore do not need the clock signal different, and can only use the holding wire of 1 transmitting-receiving serial data to communicate with serial data.
In addition, when the 2nd microcomputer 31 can not detect the 1st fixed data and the 2nd fixed data from serial data, CPU 315 changes the instrumentation time of the timer 313 at the interval that determines the detection serial data, make that timer 116 and the timer 313 in the 2nd microcomputer 31 in the 1st microcomputer 11 are synchronous, the result, because the 2nd microcomputer 31 can detect the 1st fixed data and the 2nd fixed data in the serial data, and detect negative bit data as video data by the arrangement of serial data, the 1st video data and the 2nd video data, even therefore because the performance variation of the part that deviation caused on making, and the part performance variation that variations in temperature caused, make the instrumentation asynchronism(-nization) of the timer 313 that timer 116 and the 2nd microcomputer 31 in the 1st microcomputer 11 is interior, also can make it synchronous, the result is also can receive and dispatch serial data even without clock signal.
In addition, even connect temperature control parts 1 and temperature display part 3 and do not having to receive and dispatch serial data under the situation of clock signal by long lead 5, the CPU315 of the 2nd microcomputer 31 also can detect the serial data of input 3 times with 1, be kept among the RAM 312 as this data by detecting the more incoming level of number of times, therefore even cause incoming level to change in the serial data imported of intrusions such as ambient noise, the flase drop that also its eliminating can be prevented serial data is surveyed, and finally can prevent to show to the mistake of display circuit 32.In addition, when the 2nd microcomputer 31 can not detect the 1st fixed data and the 2nd fixed data from detected serial data, when any one in the video data table of preserving among the 1st video data in the perhaps detected serial data or the 2nd video data and the ROM 311 is all inconsistent, the perhaps negative bit data that last time detected, the 1st video data, the negative bit data of the 2nd video data and this detection, the 1st video data, when the 2nd video data is inconsistent respectively, because CPU 315 can the update displayed data, therefore, intrusion such as ambient noise cause incoming level to change even being arranged in the serial data that the 1st microcomputer 11 is imported, also it can be got rid of, prevent to show to the mistake of display circuit 32.
The present invention is not limited to above-mentioned embodiment, can have various distortion/application.
For example, in the above-described embodiment, although sent by positive and negative, 2 the temperature data numerical value of temperature, the serial data that fixed data constitutes,, figure place showing can be arbitrarily, the length of serial data also can be arbitrarily.
In addition, each of the video data shown in Fig. 3 A also can be arbitrarily with the corresponding relation of the display segment shown in Fig. 3 B, and video data changes according to the corresponding relation and the demonstration letter of position with section.The the 1st and the 2nd fixed data can be chosen as neither all any part of video data neither same data.
Each fixed data has the function as the separation data (delimiter) that are used to extract each video data.Therefore, even the data volume of the video data that transmits increases, also can generate the serial data that has each delimiter respectively, if preserve the structure of this serial data among the ROM 311 of ROM of the temperature control part of Fig. 11 112 and temperature display part 3, then temperature control part 1 and temperature display part 3 can be received and dispatched the serial data of random length.
In the above-described embodiment, use 7 sections LED in temperature shows, the form by the video data table is kept at the display mode of 7 sections LED among ROM 112 and the ROM 311.
Here, employed display can be the light-emitting diode display and the LCD that for example can show a plurality of characters during temperature showed, also the bit pattern that shows character in light-emitting diode display and the LCD can be kept among ROM 112 and the ROM 311.Like this, the showcase temperature control equipment can carry out diversified demonstration according to various situations.
In the above-described embodiment, be spaced apart 3 milliseconds from what temperature control part 1 sent serial data, reception/the assay intervals of the serial data in the temperature display part 3 is 1 millisecond, but for the transmission interval of serial data and the reception/assay intervals of serial data, when the transmission of serial data is the odd-multiple of reception/assay intervals of serial data at interval, can be arbitrarily.Be integral multiple, be for the timing of the transmission that makes serial data synchronous with the timing of reception/detection.In addition, being odd-multiple, is in reception/detection, when comparing Hi counter H and Lo counter L, because the count value of the count value of H and L is inconsistent, can determine to be provided with 1 or 0 in the terminal position of data storage DATA.
In the above-described embodiment, the transmission number of times of serial data is 2, but also can be 3.At this moment, the sign bit, the 1st video data, the 2nd video data that from 3 times the serial data that is sent, extract, also can be for example only 3 times whole when identical, perhaps simultaneously more than or equal to 2 second phases, video data on the updated stored device S is so that demonstration obtains upgrading.
In the above-described embodiment, in the transmission of serial data, when producing the timer interruption, with reference to display data memory M, each section of 7 sections LED of affirmation is lighted or is extinguished, and data (position) are set among the serial data output port Ps, sends data then.Yet be not limited thereto, also can generate 31 the serial data that will send on the RAM 113, when producing timer and interrupt, each position of the serial data of the serial data of being preserved is set among the output port Ps successively to send data (position).
The method of control compressor 9 can be used any means such as P (ratio), PI (ratio/integration), PID (proportional/integral/derivative) control method.

Claims (7)

1, a kind of temperature control equipment of showcase, comprise the temperature control part (1) of the in-cabinet temperature of controlling showcase and the temperature display part (3) of this showcase in-cabinet temperature of demonstration, and have said temperature control part (1) and said temperature display part (3) by the structure that holding wire (5) is connected, it is characterized in that:
Said temperature control part (1) comprises the 1st microcomputer (11), detect showcase in-cabinet temperature temperature detecting unit (7,12,115), compressor control unit (15) and be connected to above-mentioned holding wire signal output unit (16),
Above-mentioned the 1st microcomputer (11) is according to said temperature detecting unit (7,12,115) in-cabinet temperature that is detected and design temperature control above-mentioned compressor control module (15), temperature displayed in the said temperature display part (3) is converted to video data, generation comprises this video data (D16-D10, D06-D00) and the serial data of predetermined fixed data, above-mentioned serial data has the negative position of the plus or minus symbol of expression temperature displayed, the 1st video data of the tens word of expression temperature displayed, the 2nd video data of the unit numbers of expression temperature displayed, the 1st fixed data, with the 2nd fixed data, export this serial data to above-mentioned signal output unit (16), above-mentioned signal output unit (16) exports above-mentioned serial data to said temperature display part (3) by above-mentioned holding wire (5);
Said temperature display part (3) comprises the 2nd microcomputer (31), is connected to the signal input unit (33) and the temperature display unit (32) of above-mentioned holding wire (5);
Above-mentioned the 2nd microcomputer (31) is imported above-mentioned serial data from above-mentioned signal input unit (33), detect the above-mentioned the 1st and the 2nd fixed data and the above-mentioned the 1st and the 2nd video data from this serial data, will export said temperature display unit (32) corresponding to the signal of this video data to and come displays temperature.
2, the temperature control equipment of showcase as claimed in claim 1 is characterized in that, above-mentioned the 1st fixed data and the 2nd fixed data have and above-mentioned the 1st video data and the different data arrangement of the 2nd video data.
3, the temperature control equipment of showcase as claimed in claim 1 is characterized in that: above-mentioned serial data is to arrange by the order of the 1st start bit, above-mentioned negative position, above-mentioned the 1st video data, above-mentioned the 1st fixed data, the 1st stop bit, the 2nd start bit, above-mentioned the 2nd video data, above-mentioned the 2nd fixed data, the 2nd stop bit to constitute.
4, the temperature control equipment of showcase as claimed in claim 1, it is characterized in that: above-mentioned the 2nd microcomputer (31) was sampled to detect to above-mentioned serial data every the predetermined scheduled time, and, change the above-mentioned scheduled time not detecting under the situation of a certain side in above-mentioned the 1st fixed data or above-mentioned the 2nd fixed data at pre-determined number.
5, the temperature control equipment of showcase as claimed in claim 1, it is characterized in that: above-mentioned the 2nd microcomputer (31) is when detecting above-mentioned serial data, the value of each of the above-mentioned serial data of difference repeated detection, and count detecting number of times, and will detect often level and be made as this bit data by detected each level.
6, the temperature control equipment of showcase as claimed in claim 1 is characterized in that:
Above-mentioned the 1st microcomputer (11) is repeatedly exported identical above-mentioned serial data continuously;
Above-mentioned 1st video data and above-mentioned 2nd video data when all consistent of above-mentioned the 2nd microcomputer (31) in this serial data repeatedly of being imported exports the signal corresponding with this video data to the said temperature display unit, with displays temperature.
7, the temperature control equipment of showcase as claimed in claim 4, it is characterized in that: above-mentioned the 2nd microcomputer (31) has predetermined tables of data, data registered in this tables of data and detected above-mentioned the 1st video data and the 2nd video data are compared, when a certain side in the 1st video data or the 2nd video data and any data in this tables of data when pre-determined number is inconsistent, change the above-mentioned scheduled time of detecting above-mentioned serial data.
CNB2005100878426A 2004-05-21 2005-05-23 Temperature controller for show cabinet Expired - Fee Related CN100429467C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP152597/2004 2004-05-21
JP2004152597A JP4559120B2 (en) 2004-05-21 2004-05-21 Showcase temperature control device

Publications (2)

Publication Number Publication Date
CN1707208A CN1707208A (en) 2005-12-14
CN100429467C true CN100429467C (en) 2008-10-29

Family

ID=35484198

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100878426A Expired - Fee Related CN100429467C (en) 2004-05-21 2005-05-23 Temperature controller for show cabinet

Country Status (2)

Country Link
JP (1) JP4559120B2 (en)
CN (1) CN100429467C (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2060866U (en) * 1988-12-31 1990-08-22 湖北省黄石市制冷配件厂 Computer controller for refrigerator or cold cupboard
CN2252319Y (en) * 1995-12-04 1997-04-16 中国人民解放军电子工程学院电子设备厂 Fuzzy controlled direct cooling refrigerator
CN2302485Y (en) * 1997-09-17 1998-12-30 常州市冷藏设备厂 Computer controller for refrigerator
CN2320131Y (en) * 1998-01-15 1999-05-26 青岛大阳科技公司 Microcomputer refrigerating controller for commercial refrigeration show cabinet
JP2000205725A (en) * 1999-01-19 2000-07-28 Mitsubishi Electric Corp Device and method for controlling electric refrigerator
JP2000230743A (en) * 1999-02-05 2000-08-22 Sanyo Electric Co Ltd Controller for apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0744942Y2 (en) * 1990-08-27 1995-10-11 日本建鐵株式会社 Refrigerated showcase
JPH04327774A (en) * 1991-04-26 1992-11-17 Hoshizaki Electric Co Ltd Food storing device and monitoring system therefor
JP3156898B2 (en) * 1994-04-05 2001-04-16 株式会社不二工機 Frozen showcase and temperature display
JPH11118332A (en) * 1997-10-09 1999-04-30 Sanyo Electric Co Ltd Control device for cooling device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2060866U (en) * 1988-12-31 1990-08-22 湖北省黄石市制冷配件厂 Computer controller for refrigerator or cold cupboard
CN2252319Y (en) * 1995-12-04 1997-04-16 中国人民解放军电子工程学院电子设备厂 Fuzzy controlled direct cooling refrigerator
CN2302485Y (en) * 1997-09-17 1998-12-30 常州市冷藏设备厂 Computer controller for refrigerator
CN2320131Y (en) * 1998-01-15 1999-05-26 青岛大阳科技公司 Microcomputer refrigerating controller for commercial refrigeration show cabinet
JP2000205725A (en) * 1999-01-19 2000-07-28 Mitsubishi Electric Corp Device and method for controlling electric refrigerator
JP2000230743A (en) * 1999-02-05 2000-08-22 Sanyo Electric Co Ltd Controller for apparatus

Also Published As

Publication number Publication date
CN1707208A (en) 2005-12-14
JP4559120B2 (en) 2010-10-06
JP2005329182A (en) 2005-12-02

Similar Documents

Publication Publication Date Title
US8082061B2 (en) Vending machines with lighting interactivity and item-based lighting systems for retail display and automated retail stores
CA2209793A1 (en) Cooking apparatus sequentially displaying cooking methods on its display and cooking methods using such cooking apparatus
RU2006101396A (en) MANY DEVICES JOINT USING A GENERAL PERIPHERAL DEVICE
CN100429467C (en) Temperature controller for show cabinet
US10915241B2 (en) Communication device with ID input method which conforms to positional notation of numeral system
JPH0619424A (en) Display device
GB2307560A (en) Open shelf bar using weighing for central billing
EP3306541A1 (en) Out-of-stock commodity management device and out-of-stock commodity management method
CA2399607A1 (en) Method for selecting products
EP2587871A2 (en) Wireless communications terminal having RF direct wakeup function and wakeup method thereof
JP4893568B2 (en) Wireless indicator
EP2659468A1 (en) A system, a processing unit, a method and a computer program product for monitoring sensors
CN115043126A (en) Weighing goods shelf with goods position indication function and goods storing and taking method
CN104835436B (en) A kind of backlight module detecting system and its detection method
US10767869B2 (en) User interface for a cooking hob
JP3156898B2 (en) Frozen showcase and temperature display
CN215390898U (en) Multi-grid scale for sorting
CN212435976U (en) Stair lamp system
CN117437721A (en) Vending machine and vending machine control method
CN220339501U (en) Electronic scale capable of simultaneously weighing various objects
CN221200468U (en) Laminate of vending machine and vending machine
CN115481768A (en) Device management system and management method thereof, article management system and management method thereof, and device and communication method thereof
JP5448908B2 (en) Combination scale
JPH0249122A (en) Display method for measured weight and its allowable upper and lower limit values
CN116692344A (en) Article position indicating system, indicating method and warehousing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081029

Termination date: 20210523

CF01 Termination of patent right due to non-payment of annual fee