CN104869628A - Clock calibration method of air-condition electric control device, air-condition electric control device, terminal and system - Google Patents
Clock calibration method of air-condition electric control device, air-condition electric control device, terminal and system Download PDFInfo
- Publication number
- CN104869628A CN104869628A CN201510218828.9A CN201510218828A CN104869628A CN 104869628 A CN104869628 A CN 104869628A CN 201510218828 A CN201510218828 A CN 201510218828A CN 104869628 A CN104869628 A CN 104869628A
- Authority
- CN
- China
- Prior art keywords
- electric control
- control device
- air conditioner
- conditioner electric
- terminal
- 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.)
- Granted
Links
Landscapes
- Air Conditioning Control Device (AREA)
Abstract
The invention discloses a clock calibration method of an air-condition electric control device, comprising the following steps: the air-condition electric control device counting according to a counting instruction transmitted by a terminal in preset time to obtain a count value; the air-condition electric control device transmitting the obtained count value to the terminal so that the terminal can be used for comparing the count value with a standard value and returning a calibration value according to the comparing result; the air-condition electric control device receiving the calibration value returned by the terminal, and calibrating a clock parameter according to the calibration value. The invention further discloses air-condition electric control device, the terminal and a system. The clock calibration method of an air-condition electric control device, the air-condition electric control device, the terminal and the system of the invention improve the timing precision of the air-condition electric control device.
Description
Technical field
The present invention relates to air conditioner technical field, particularly relate to a kind of clock correcting method of air conditioner electric control device, air conditioner electric control device, terminal and system.
Background technology
At present, timing and the clocking capability of air conditioner electric control device be respectively by the main control chip frequency division of air conditioner electric control device after timer and counter realize.Owing to there is error between crystal oscillator, the actual value deviation theory designing requirement causing the timer of air conditioner electric control device and counter to obtain, causes the timing parameter of air conditioner electric control device to there is larger error.Therefore, the timing accuracy of existing air conditioner electric control device is not high.
Summary of the invention
Main purpose of the present invention is to provide a kind of clock correcting method of air conditioner electric control device, air conditioner electric control device, terminal and system, is intended to the timing accuracy improving air conditioner electric control device.
In order to achieve the above object, the invention provides a kind of clock correcting method of air conditioner electric control device, the clock correcting method of described air conditioner electric control device comprises the following steps:
Obtained count value is sent to terminal by air conditioner electric control device, to make terminal this count value and standard value be compared, and returns calibration value according to comparative result;
The calibration value that air conditioner electric control device receiving terminal returns, with according to this calibration value, calibrates timing parameter.
Preferably, the counting instruction that described air conditioner electric control device sends according to terminal counts in Preset Time, obtains count value and comprises:
What air conditioner electric control device receiving terminal sent starts to count instruction, starts counting;
The stopping counting instruction that air conditioner electric control device receiving terminal sends, stops counting, and obtains count value.
Preferably, the clock correcting method of described air conditioner electric control device is further comprising the steps of:
Terminal sends counting instruction to air conditioner electric control device, counts in Preset Time to make air conditioner electric control device;
Terminal receives the count value that air conditioner electric control device sends;
This count value and standard value compare by terminal, and obtain calibration value according to comparative result;
Described calibration value is sent to air conditioner electric control device by terminal, calibrates according to this calibration value to make air conditioner electric control device to timing parameter.
Preferably, described terminal sends counting instruction to air conditioner electric control device, carries out counting comprise to make air conditioner electric control device in Preset Time:
Terminal starts timing, sends simultaneously and starts to count instruction, start counting to make air conditioner electric control device to air conditioner electric control device;
When Preset Time reaches, terminal stops timing, sends simultaneously and stops counting instruction, stop counting to make air conditioner electric control device to air conditioner electric control device.
In addition, for achieving the above object, present invention also offers a kind of air conditioner electric control device, described air conditioner electric control device comprises:
Counting module, counts in Preset Time for the counting instruction sent according to terminal, obtains count value;
Count value sending module, for obtained count value is sent to terminal, to make terminal this count value and standard value be compared, and returns calibration value according to comparative result;
Calibration module, for the calibration value that receiving terminal returns, with according to this calibration value, calibrates timing parameter.
Preferably, described counting module comprises:
Counting start unit, for receiving terminal send start count instruction, start counting;
Counting stop element, for the stopping counting instruction that receiving terminal sends, stops counting, and obtains count value.
In addition, for achieving the above object, present invention also offers a kind of terminal, described terminal comprises:
Counting instruction sending module, for sending counting instruction to air conditioner electric control device, counts in Preset Time to make air conditioner electric control device;
Count value receiver module, for receiving the count value that air conditioner electric control device sends;
Calibration value acquisition module, for this count value and standard value being compared, and obtains calibration value according to comparative result;
Calibration value sending module, for described calibration value is sent to air conditioner electric control device, calibrates timing parameter according to this calibration value to make air conditioner electric control device.
Preferably, described counting instruction sending module comprises:
Timing starts unit, for starting timing, sending simultaneously and starting to count instruction, start counting to make air conditioner electric control device to air conditioner electric control device;
Timing stop element, for when Preset Time reaches, stops timing, sends simultaneously and stops counting instruction, stop counting to make air conditioner electric control device to air conditioner electric control device.
In addition, for achieving the above object, present invention also offers a kind of clock alignment system of air conditioner electric control device, comprise terminal and air-conditioning, described air-conditioning comprises communicator and air conditioner electric control device, and wherein communicator communicates with terminal, and described communicator is also connected with air conditioner electric control device, for receive terminal send control command after, be sent to air conditioner electric control device; The counting instruction that described air conditioner electric control device sends according to terminal, obtains count value; Terminal receives this count value, and according to standard value, controls air conditioner electric control device and carry out clock alignment; This terminal is the terminal of said structure, and this air conditioner electric control device is the air conditioner electric control device of said structure.
Preferably, described communicator is arranged on air conditioner electric control device.
The counting instruction that in the embodiment of the present invention, air-conditioning electric control gear sends according to terminal counts in Preset Time, obtains count value.Then obtained count value is sent to terminal, to make terminal this count value and standard value be compared, and returns calibration value according to comparative result.After the calibration value that air conditioner electric control device receiving terminal returns, according to this calibration value, timing parameter is calibrated.Thus improve the timing accuracy of air conditioner electric control device.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of clock correcting method first embodiment of air conditioner electric control device of the present invention;
Fig. 2 is in the clock correcting method of air conditioner electric control device of the present invention, and the counting instruction that air conditioner electric control device sends according to terminal counts in Preset Time, obtains the refinement schematic flow sheet of count value;
Fig. 3 is the schematic flow sheet of clock correcting method second embodiment of air conditioner electric control device of the present invention;
Fig. 4 is in the clock correcting method of air conditioner electric control device of the present invention, and terminal sends counting instruction to air conditioner electric control device, carries out the refinement schematic flow sheet counted to make air conditioner electric control device in Preset Time;
Fig. 5 is the high-level schematic functional block diagram of air conditioner electric control device of the present invention;
Fig. 6 is the refinement high-level schematic functional block diagram of counting module in air conditioner electric control device of the present invention;
Fig. 7 is the high-level schematic functional block diagram of terminal of the present invention;
Fig. 8 is the refinement high-level schematic functional block diagram counting instruction sending module in terminal of the present invention;
Fig. 9 is the structural representation of the clock alignment system of air conditioner electric control device of the present invention.
In order to make technical scheme of the present invention clearly, understand, be described in further detail below in conjunction with accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Essential core thought of the present invention is, the counting instruction that air conditioner electric control device sends according to terminal counts in Preset Time, obtains count value.Then obtained count value is sent to terminal, after this count value and standard value being compared to make terminal, returns calibration value.The calibration value that air conditioner electric control device receiving terminal returns, and according to this calibration value, timing parameter is calibrated.Thus improve the timing accuracy of air conditioner electric control device.
As shown in Figure 1, clock correcting method first embodiment of a kind of air conditioner electric control device of the present invention is shown.The clock correcting method of the air conditioner electric control device of this embodiment comprises the following steps:
The counting instruction that step S10, air conditioner electric control device send according to terminal counts in Preset Time, obtains count value;
Obtained count value is sent to terminal by step S20, air conditioner electric control device, to make terminal this count value and standard value be compared, and returns calibration value according to comparative result;
The calibration value that step S30, air conditioner electric control device receiving terminal return, with according to this calibration value, calibrates timing parameter.
In the present embodiment, can be established a connection between air conditioner electric control device and terminal by Internet of Things in advance, this terminal can be the mobile terminal such as mobile phone, iPad.When terminal starts calibration operation, control air conditioner electric control device and enter clock test pattern, when air conditioner electric control device receives the counting instruction of terminal transmission, trigger internal clock counter counts in Preset Time, obtains count value.Be understandable that, this Preset Time can be 1 minute, also can arrange flexibly as the case may be.This count value is sent to terminal by air conditioner electric control device, to make terminal after the count value receiving the transmission of air conditioner electric control device, this count value and standard value is compared.If the difference between this count value and standard value in the scope that deviation allows, does not then return calibration value to air conditioner electric control device.This calibration value is the ratio between the timing time of terminal and this difference, i.e. calibration value=timing time/(| count value-standard value |).If obtain difference between count value and standard value on the occasion of, then illustrate that the speed of air conditioner electric control plant running is faster than the speed of standard; If the difference obtained between count value and standard value is negative value, then illustrate that the speed of air conditioner electric control plant running is slower than the speed of standard.After air conditioner electric control device receives the calibration value that terminal returns, wake memory module up to store this calibration value, and according to this calibration value, timing parameter is calibrated in the process run, even the speed of air conditioner electric control plant running is faster than the speed of standard, then the time that air conditioner electric control device often runs a step just needs to increase this calibration value; If the speed of air conditioner electric control plant running is slower than the speed of standard, then the time that air conditioner electric control device often runs a step just needs to reduce this calibration value.Thus make the timing parameter of air conditioner electric control plant running reach the timing parameter of standard, realize calibrating the clock of air conditioner electric control device.If the scope that the difference between this count value and standard value allows in deviation, then do not return calibration value to air conditioner electric control device, show that air conditioner electric control device does not need to calibrate timing parameter.Be understandable that, the scope that this deviation allows can be 0, or is [-0.01 ,+0.01], also can arrange flexibly as the case may be, not limit the present invention.
Illustrate, suppose that above-mentioned Preset Time is 1 minute, namely the timing time of terminal is 1 minute, and the count value that air conditioner electric control device obtains in this 1 minute is 1000, illustrates that air conditioner electric control device has run 1000 steps in 1 minute.To be air conditioner electric control device ran 900 steps at 1 minute to tentative standard value, thus according to count value-standard value=100, and be on the occasion of.Then illustrate that air conditioner electric control device has run 100 steps fast in 1 minute.Obtaining calibration value according to the ratio between the timing time of terminal and this difference is 60 seconds/100 step=0.6, and namely air conditioner electric control device is in the process run, and the time often running a step just needs to add 0.6 second on the basis of the original time.Otherwise if the difference between count value and standard value is negative value, then illustrate that air conditioner electric control plant running is slow, then, after obtaining calibration value, the time often running a step just needs to reduce this calibration value.Be understandable that, this standard value can be arranged as the case may be flexibly, does not limit the present invention.
The counting instruction that in the embodiment of the present invention, air-conditioning electric control gear sends according to terminal counts in Preset Time, obtains count value.Then obtained count value is sent to terminal, to make terminal this count value and standard value be compared, and returns calibration value according to comparative result.The calibration value that air conditioner electric control device receiving terminal returns, and according to this calibration value, timing parameter is calibrated, thus improve the timing accuracy of air conditioner electric control device.
Further, as shown in Figure 2, based on above-described embodiment, in the clock correcting method of the air conditioner electric control device of this embodiment, above-mentioned steps S10 can comprise the following steps:
What step S11, air conditioner electric control device receiving terminal sent starts to count instruction, starts counting;
The stopping counting instruction that step S12, air conditioner electric control device receiving terminal send, stops counting, and obtains count value.
After air conditioner electric control device starting of receiving that terminal sends over counts instruction, the clock counter of trigger internal starts counting.Through after a period of time, air conditioner electric control device is after receiving the stopping counting instruction that terminal sends over, and clock counter stops counting, obtains count value.Be understandable that, this period of time can be 1 minute, also can arrange flexibly as the case may be.Thus the count value of the timing time and air conditioner electric control device that can realize terminal matches.
Further, as shown in Figure 3, clock correcting method second embodiment of a kind of air conditioner electric control device of the present invention is shown.The clock correcting method of the air conditioner electric control device of this embodiment comprises the following steps::
Step S40, terminal send counting instruction to air conditioner electric control device, count in Preset Time to make air conditioner electric control device;
Step S50, terminal receive the count value that air conditioner electric control device sends;
This count value and standard value compare by step S60, terminal, and obtain calibration value according to comparative result;
Described calibration value is sent to air conditioner electric control device by step S70, terminal, calibrates according to this calibration value to make air conditioner electric control device to timing parameter.
In the present embodiment, can be established a connection between air conditioner electric control device and terminal by Internet of Things in advance, this terminal can be the mobile terminal such as mobile phone, iPad.When terminal starts calibration operation, when control air conditioner electric control device enters clock test pattern, terminal sends counting instruction to air conditioner electric control device, to make air conditioner electric control device when receiving the counting instruction that terminal sends, trigger internal clock counter counts in Preset Time, and will obtain count value and be sent to terminal.Be understandable that, this Preset Time can be 1 minute, also can arrange flexibly as the case may be.
This count value and standard value, after the count value receiving the transmission of air conditioner electric control device, compare by terminal.If the difference between this count value and standard value in the scope that deviation allows, does not then return calibration value to air conditioner electric control device.After receiving to make air conditioner electric control device the calibration value that terminal returns, wake memory module up and this calibration value is stored, and according to this calibration value, timing parameter is calibrated in the process run.Thus make the timing parameter of air conditioner electric control plant running reach the timing parameter of standard, realize calibrating the clock of air conditioner electric control device.This calibration value is the ratio between the timing time of terminal and this difference, i.e. calibration value=timing time/(| count value-standard value |).Difference between count value and standard value be on the occasion of, then illustrate that the speed of air conditioner electric control plant running is faster than the speed of standard; If the difference obtained between count value and standard value is negative value, then illustrate that the speed of air conditioner electric control plant running is slower than the speed of standard.If the speed of air conditioner electric control plant running is faster than the speed of standard, then the time that air conditioner electric control device often runs a step just needs to increase this calibration value; If the speed of air conditioner electric control plant running is slower than the speed of standard, then the time that air conditioner electric control device often runs a step just needs to reduce this calibration value.If the scope that the difference between this count value and standard value allows in deviation, then do not return calibration value to air conditioner electric control device, show that air conditioner electric control device does not need to calibrate timing parameter.Be understandable that, the scope that this deviation allows can be 0, or is [-0.01 ,+0.01], also can arrange flexibly as the case may be, not limit the present invention.
Illustrate, suppose that above-mentioned Preset Time is 1 minute, namely the timing time of terminal is 1 minute, and the count value that air conditioner electric control device obtains in this 1 minute is 1000, illustrates that air conditioner electric control device has run 1000 steps in 1 minute.To be air conditioner electric control device ran 900 steps at 1 minute to tentative standard value, thus according to count value-standard value=100, and be on the occasion of.Then illustrate that air conditioner electric control device has run 100 steps fast in 1 minute.Obtaining calibration value according to the ratio between the timing time of terminal and this difference is 60 seconds/100 step=0.6, and namely air conditioner electric control device is in the process run, and the time often running a step just needs to add 0.6 second on the basis of the original time.Otherwise if the difference between count value and standard value is negative value, then illustrate that air conditioner electric control plant running is slow, then, after obtaining calibration value, often running a step just needs to reduce this calibration value.Be understandable that, this standard value can be arranged as the case may be flexibly, does not limit the present invention.
Owing to carrying out timing by terminal, so the time difference of position can be managed according to terminal seat, different clock alignments is carried out to air conditioner electric control device, make the actual value of the timing of air conditioner electric control device more close to theoretical design requirements, to meet the demand of user.
In the present embodiment, terminal sends counting instruction to air conditioner electric control device, counts in Preset Time to make air conditioner electric control device.After terminal receives the count value of air conditioner electric control device transmission, this count value and standard value are compared acquisition calibration value, and this calibration value is sent to air conditioner electric control device, to make air conditioner electric control device calibrate timing parameter according to this calibration value, thus improve the timing accuracy of air conditioner electric control device.
Further, as shown in Figure 4, based on above-described embodiment, in the clock correcting method of the air conditioner electric control device of this embodiment, above-mentioned steps S40 can comprise the following steps:
Step S41, terminal start timing, send simultaneously and start to count instruction, start counting to make air conditioner electric control device to air conditioner electric control device;
Step S42, when Preset Time reaches, terminal stops timing, sends to air conditioner electric control device simultaneously and stops counting instruction, stop counting to make air conditioner electric control device.
When terminal starts timing, send simultaneously and start to count instruction to air conditioner electric control device, to make air conditioner electric control device after receiving and starting to count instruction, the clock counter of trigger internal starts counting.After Preset Time, terminal stops timing, and send to air conditioner electric control device simultaneously and stop counting instruction, receive to make air conditioner electric control device after stopping counting instruction, clock counter stops counting, obtains count value.Be understandable that, this time of presetting can be 1 minute, also can arrange flexibly as the case may be.Thus the count value of the timing time and air conditioner electric control device that can realize terminal matches.
Accordingly, as shown in Figure 5, a kind of air conditioner electric control device of the present invention is proposed.The air conditioner electric control device of this embodiment comprises:
Counting module 100, counts in Preset Time for the counting instruction sent according to terminal, obtains count value;
Count value sending module 200, for obtained count value is sent to terminal, to make terminal this count value and standard value be compared, and returns calibration value according to comparative result;
Calibration module 300, for the calibration value that receiving terminal returns, with according to this calibration value, calibrates timing parameter.
In the present embodiment, can be established a connection between air conditioner electric control device and terminal by Internet of Things in advance, this terminal can be the mobile terminal such as mobile phone, iPad.When terminal starts calibration operation, control air conditioner electric control device and enter clock test pattern, when air conditioner electric control device receives the counting instruction of terminal transmission, trigger internal clock counter counts in Preset Time, obtains count value.Be understandable that, this Preset Time can be 1 minute, also can arrange flexibly as the case may be.This count value is sent to terminal by air conditioner electric control device, to make terminal after the count value receiving the transmission of air conditioner electric control device, this count value and standard value is compared.If the difference between this count value and standard value in the scope that deviation allows, does not then return calibration value to air conditioner electric control device.This calibration value is the ratio between the timing time of terminal and this difference, i.e. calibration value=timing time/(| count value-standard value |).If obtain difference between count value and standard value on the occasion of, then illustrate that the speed of air conditioner electric control plant running is faster than the speed of standard; If the difference obtained between count value and standard value is negative value, then illustrate that the speed of air conditioner electric control plant running is slower than the speed of standard.After air conditioner electric control device receives the calibration value that terminal returns, wake memory module up to store this calibration value, and according to this calibration value, timing parameter is calibrated in the process run, even the speed of air conditioner electric control plant running is faster than the speed of standard, then the time that air conditioner electric control device often runs a step just needs to increase this calibration value; If the speed of air conditioner electric control plant running is slower than the speed of standard, then the time that air conditioner electric control device often runs a step just needs to reduce this calibration value.Thus make the timing parameter of air conditioner electric control plant running reach the timing parameter of standard, realize calibrating the clock of air conditioner electric control device.If the scope that the difference between this count value and standard value allows in deviation, then do not return calibration value to air conditioner electric control device, show that air conditioner electric control device does not need to calibrate timing parameter.Be understandable that, the scope that this deviation allows can be 0, or is [-0.01 ,+0.01], also can arrange flexibly as the case may be, not limit the present invention.
Illustrate, suppose that above-mentioned Preset Time is 1 minute, namely the timing time of terminal is 1 minute, and the count value that air conditioner electric control device obtains in this 1 minute is 1000, illustrates that air conditioner electric control device has run 1000 steps in 1 minute.To be air conditioner electric control device ran 900 steps at 1 minute to tentative standard value, thus according to count value-standard value=100, and be on the occasion of.Then illustrate that air conditioner electric control device has run 100 steps fast in 1 minute.Obtaining calibration value according to the ratio between the timing time of terminal and this difference is 60 seconds/100 step=0.6, and namely air conditioner electric control device is in the process run, and the time often running a step just needs to add 0.6 second on the basis of the original time.Otherwise if the difference between count value and standard value is negative value, then illustrate that air conditioner electric control plant running is slow, then, after obtaining calibration value, the time often running a step just needs to reduce this calibration value.Be understandable that, this standard value can be arranged as the case may be flexibly, does not limit the present invention.
The counting instruction that in the embodiment of the present invention, air-conditioning electric control gear sends according to terminal counts in Preset Time, obtains count value.Then obtained count value is sent to terminal, to make terminal this count value and standard value be compared, and returns calibration value according to comparative result.The calibration value that air conditioner electric control device receiving terminal returns, and according to this calibration value, timing parameter is calibrated, thus improve the timing accuracy of air conditioner electric control device.
Further, as shown in Figure 6, based on above-described embodiment, above-mentioned counting module 100 comprises:
Counting start unit 110, for receiving terminal send start count instruction, start counting;
Counting stop element 120, for the stopping counting instruction that receiving terminal sends, stops counting, and obtains count value.
After air conditioner electric control device starting of receiving that terminal sends over counts instruction, the clock counter of trigger internal starts counting.Through after a period of time, air conditioner electric control device is after receiving the stopping counting instruction that terminal sends over, and clock counter stops counting, obtains count value.Be understandable that, this period of time can be 1 minute, also can arrange flexibly as the case may be.Thus the count value of the timing time and air conditioner electric control device that can realize terminal matches.
Accordingly, as shown in Figure 7, a kind of terminal of the present invention is proposed.The terminal of this embodiment comprises:
Counting instruction sending module 400, for sending counting instruction to air conditioner electric control device, counts in Preset Time to make air conditioner electric control device;
Count value receiver module 500, for receiving the count value that air conditioner electric control device sends;
Calibration value acquisition module 600, for this count value and standard value being compared, and obtains calibration value according to comparative result;
Calibration value sending module 700, for described calibration value is sent to air conditioner electric control device, calibrates timing parameter according to this calibration value to make air conditioner electric control device.
In the present embodiment, can be established a connection between air conditioner electric control device and terminal by Internet of Things in advance, this terminal can be the mobile terminal such as mobile phone, iPad.When terminal starts calibration operation, when control air conditioner electric control device enters clock test pattern, terminal sends counting instruction to air conditioner electric control device, to make air conditioner electric control device when receiving the counting instruction that terminal sends, trigger internal clock counter is counting in Preset Time, and will obtain count value and be sent to terminal.Be understandable that, this Preset Time can be 1 minute, also can arrange flexibly as the case may be.
This count value and standard value, after the count value receiving the transmission of air conditioner electric control device, compare by terminal.If the difference between this count value and standard value in the scope that deviation allows, does not then return calibration value to air conditioner electric control device.After receiving to make air conditioner electric control device the calibration value that terminal returns, wake memory module up and this calibration value is stored, and according to this calibration value, timing parameter is calibrated in the process run.Thus make the timing parameter of air conditioner electric control plant running reach the timing parameter of standard, realize calibrating the clock of air conditioner electric control device.This calibration value is the ratio between the timing time of terminal and this difference, i.e. calibration value=timing time/(| count value-standard value |).Difference between count value and standard value be on the occasion of, then illustrate that the speed of air conditioner electric control plant running is faster than the speed of standard; If the difference obtained between count value and standard value is negative value, then illustrate that the speed of air conditioner electric control plant running is slower than the speed of standard.If the speed of air conditioner electric control plant running is faster than the speed of standard, then the time that air conditioner electric control device often runs a step just needs to increase this calibration value; If the speed of air conditioner electric control plant running is slower than the speed of standard, then the time that air conditioner electric control device often runs a step just needs to reduce this calibration value.If the scope that the difference between this count value and standard value allows in deviation, then do not return calibration value to air conditioner electric control device, show that air conditioner electric control device does not need to calibrate timing parameter.Be understandable that, the scope that this deviation allows can be 0, or is [-0.01 ,+0.01], also can arrange flexibly as the case may be, not limit the present invention.
Illustrate, suppose that above-mentioned Preset Time is 1 minute, namely the timing time of terminal is 1 minute, and the count value that air conditioner electric control device obtains in this 1 minute is 1000, illustrates that air conditioner electric control device has run 1000 steps in 1 minute.To be air conditioner electric control device ran 900 steps at 1 minute to tentative standard value, thus according to count value-standard value=100, and be on the occasion of.Then illustrate that air conditioner electric control device has run 100 steps fast in 1 minute.Obtaining calibration value according to the ratio between the timing time of terminal and this difference is 60 seconds/100 step=0.6, and namely air conditioner electric control device is in the process run, and the time often running a step just needs to add 0.6 second on the basis of the original time.Otherwise if the difference between count value and standard value is negative value, then illustrate that air conditioner electric control plant running is slow, then, after obtaining calibration value, often running a step just needs to reduce this calibration value.Be understandable that, this standard value can be arranged as the case may be flexibly, does not limit the present invention.
Owing to carrying out timing by terminal, so the time difference of position can be managed according to terminal seat, different clock alignments is carried out to air conditioner electric control device, make the actual value of the timing of air conditioner electric control device more close to theoretical design requirements, to meet the demand of user.
In the present embodiment, terminal sends counting instruction to air conditioner electric control device, counts in Preset Time to make air conditioner electric control device.After terminal receives the count value of air conditioner electric control device transmission, this count value and standard value are compared acquisition calibration value, and this calibration value is sent to air conditioner electric control device, to make air conditioner electric control device calibrate timing parameter according to this calibration value, thus improve the timing accuracy of air conditioner electric control device.
Further, as shown in Figure 8, based on above-described embodiment, above-mentioned counting instruction sending module 400 comprises:
Timing starts unit 410, for starting timing, sending simultaneously and starting to count instruction, start counting to make air conditioner electric control device to air conditioner electric control device;
Timing stop element 420, for when Preset Time reaches, stops timing, sends simultaneously and stops counting instruction, stop counting to make air conditioner electric control device to air conditioner electric control device.
When terminal starts timing, send simultaneously and start to count instruction to air conditioner electric control device, to make air conditioner electric control device after receiving and starting to count instruction, the clock counter of trigger internal starts counting.After Preset Time, terminal stops timing, and send to air conditioner electric control device simultaneously and stop counting instruction, receive to make air conditioner electric control device after stopping counting instruction, clock counter stops counting, obtains count value.Be understandable that, this time of presetting can be 1 minute, also can arrange flexibly as the case may be.Thus the count value of the timing time and air conditioner electric control device that can realize terminal matches.
Accordingly, as shown in Figure 9, based on above-described embodiment, present invention also offers a kind of clock alignment system of air conditioner electric control device, comprise terminal 10 and air-conditioning 20.Wherein air-conditioning 20 comprises communicator 21 and air conditioner electric control device 22, and communicator 21 is arranged on air conditioner electric control device 22, and communicator 21 communicates with terminal 10, and is connected with air conditioner electric control device 22.Communicator 21 for receive terminal 10 send control command after, be sent to air conditioner electric control device 22.The counting instruction that air conditioner electric control device 22 sends according to terminal 10, obtains count value.Terminal 10 receives this count value, and according to standard value, controls air conditioner electric control device 22 and carry out clock alignment.This terminal 10 is the terminal of said structure, and this air conditioner electric control device 22 is the air conditioner electric control device of said structure.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, air conditioner, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Claims (10)
1. a clock correcting method for air conditioner electric control device, is characterized in that, the clock correcting method of described air conditioner electric control device comprises the following steps:
The counting instruction that air conditioner electric control device sends according to terminal counts in Preset Time, obtains count value;
Obtained count value is sent to terminal by air conditioner electric control device, to make terminal this count value and standard value be compared, and returns calibration value according to comparative result;
The calibration value that air conditioner electric control device receiving terminal returns, with according to this calibration value, calibrates timing parameter.
2. the clock correcting method of air conditioner electric control device as claimed in claim 1, it is characterized in that, the counting instruction that described air conditioner electric control device sends according to terminal counts in Preset Time, obtains count value and comprises:
What air conditioner electric control device receiving terminal sent starts to count instruction, starts counting;
The stopping counting instruction that air conditioner electric control device receiving terminal sends, stops counting, and obtains count value.
3. a clock correcting method for air conditioner electric control device, is characterized in that, the clock correcting method of described air conditioner electric control device comprises the following steps:
Terminal sends counting instruction to air conditioner electric control device, counts in Preset Time to make air conditioner electric control device;
Terminal receives the count value that air conditioner electric control device sends;
This count value and standard value compare by terminal, and obtain calibration value according to comparative result;
Described calibration value is sent to air conditioner electric control device by terminal, calibrates according to this calibration value to make air conditioner electric control device to timing parameter.
4. the clock correcting method of air conditioner electric control device as claimed in claim 3, is characterized in that, described terminal sends counting instruction to air conditioner electric control device, carries out counting comprise to make air conditioner electric control device in Preset Time:
Terminal starts timing, sends simultaneously and starts to count instruction, start counting to make air conditioner electric control device to air conditioner electric control device;
When Preset Time reaches, terminal stops timing, sends simultaneously and stops counting instruction, stop counting to make air conditioner electric control device to air conditioner electric control device.
5. an air conditioner electric control device, is characterized in that, described air conditioner electric control device comprises:
Counting module, counts in Preset Time for the counting instruction sent according to terminal, obtains count value;
Count value sending module, for obtained count value is sent to terminal, to make terminal this count value and standard value be compared, and returns calibration value according to comparative result;
Calibration module, for the calibration value that receiving terminal returns, with according to this calibration value, calibrates timing parameter.
6. air conditioner electric control device as claimed in claim 5, it is characterized in that, described counting module comprises:
Counting start unit, for receiving terminal send start count instruction, start counting;
Counting stop element, for the stopping counting instruction that receiving terminal sends, stops counting, and obtains count value.
7. a terminal, is characterized in that, described terminal comprises:
Counting instruction sending module, for sending counting instruction to air conditioner electric control device, counts in Preset Time to make air conditioner electric control device;
Count value receiver module, for receiving the count value that air conditioner electric control device sends;
Calibration value acquisition module, for this count value and standard value being compared, and obtains calibration value according to comparative result;
Calibration value sending module, for described calibration value is sent to air conditioner electric control device, calibrates timing parameter according to this calibration value to make air conditioner electric control device.
8. terminal as claimed in claim 7, it is characterized in that, described counting instruction sending module comprises:
Timing starts unit, for starting timing, sending simultaneously and starting to count instruction, start counting to make air conditioner electric control device to air conditioner electric control device;
Timing stop element, for when Preset Time reaches, stops timing, sends simultaneously and stops counting instruction, stop counting to make air conditioner electric control device to air conditioner electric control device.
9. the clock alignment system of an air conditioner electric control device, it is characterized in that, comprise terminal and air-conditioning, described air-conditioning comprises communicator and air conditioner electric control device, wherein communicator communicates with terminal, described communicator is also connected with air conditioner electric control device, for receive terminal send control command after, be sent to air conditioner electric control device; The counting instruction that described air conditioner electric control device sends according to terminal, obtains count value; Terminal receives this count value, and according to standard value, controls air conditioner electric control device and carry out clock alignment; This terminal is the terminal described in any one of claim 5-6, and this air conditioner electric control device is the air conditioner electric control device described in any one of claim 7-8.
10. clock alignment system as claimed in claim 9, it is characterized in that, described communicator is arranged on air conditioner electric control device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510218828.9A CN104869628B (en) | 2015-04-30 | 2015-04-30 | Clock correcting method, air conditioner electric control device, terminal and the system of air conditioner electric control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510218828.9A CN104869628B (en) | 2015-04-30 | 2015-04-30 | Clock correcting method, air conditioner electric control device, terminal and the system of air conditioner electric control device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104869628A true CN104869628A (en) | 2015-08-26 |
CN104869628B CN104869628B (en) | 2019-01-08 |
Family
ID=53915045
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510218828.9A Active CN104869628B (en) | 2015-04-30 | 2015-04-30 | Clock correcting method, air conditioner electric control device, terminal and the system of air conditioner electric control device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104869628B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107239052A (en) * | 2017-05-23 | 2017-10-10 | 中国电子科技集团公司第四十研究所 | A kind of triggering level automatic calibrating method realized based on FPGA |
CN112099562A (en) * | 2020-08-27 | 2020-12-18 | 江苏美的清洁电器股份有限公司 | Power compensation control method and device, electric appliance, electronic equipment and storage medium |
CN113805463A (en) * | 2021-09-08 | 2021-12-17 | 珠海格力电器股份有限公司 | Method for calibrating timing time of air conditioner |
CN113935451A (en) * | 2021-11-16 | 2022-01-14 | 宁波奥克斯电气股份有限公司 | Air conditioner clock correction method and air conditioner test equipment |
CN114553355A (en) * | 2022-01-18 | 2022-05-27 | 山东梅格彤天电气有限公司 | High-precision time synchronization method, device and system for low-voltage intelligent terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06185788A (en) * | 1992-12-11 | 1994-07-08 | Noritz Corp | Air conditioner |
CN101247123A (en) * | 2007-10-24 | 2008-08-20 | 吴明星 | Single-chip system clock calibration method |
CN102929735A (en) * | 2012-10-19 | 2013-02-13 | 北京星网锐捷网络技术有限公司 | Clock-correcting method and equipment |
CN103955257A (en) * | 2014-03-27 | 2014-07-30 | 美的集团股份有限公司 | Method and device for calibrating system clocks of single chip microcomputers, and air conditioner control system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6185788B2 (en) * | 2013-08-20 | 2017-08-23 | 新明和工業株式会社 | Control device for mechanical parking equipment and mechanical parking equipment provided with the same |
-
2015
- 2015-04-30 CN CN201510218828.9A patent/CN104869628B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06185788A (en) * | 1992-12-11 | 1994-07-08 | Noritz Corp | Air conditioner |
CN101247123A (en) * | 2007-10-24 | 2008-08-20 | 吴明星 | Single-chip system clock calibration method |
CN102929735A (en) * | 2012-10-19 | 2013-02-13 | 北京星网锐捷网络技术有限公司 | Clock-correcting method and equipment |
CN103955257A (en) * | 2014-03-27 | 2014-07-30 | 美的集团股份有限公司 | Method and device for calibrating system clocks of single chip microcomputers, and air conditioner control system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107239052A (en) * | 2017-05-23 | 2017-10-10 | 中国电子科技集团公司第四十研究所 | A kind of triggering level automatic calibrating method realized based on FPGA |
CN107239052B (en) * | 2017-05-23 | 2019-09-24 | 中国电子科技集团公司第四十一研究所 | A kind of triggering level automatic calibrating method realized based on FPGA |
CN112099562A (en) * | 2020-08-27 | 2020-12-18 | 江苏美的清洁电器股份有限公司 | Power compensation control method and device, electric appliance, electronic equipment and storage medium |
CN113805463A (en) * | 2021-09-08 | 2021-12-17 | 珠海格力电器股份有限公司 | Method for calibrating timing time of air conditioner |
CN113805463B (en) * | 2021-09-08 | 2022-06-07 | 珠海格力电器股份有限公司 | Method for calibrating timing time of air conditioner |
CN113935451A (en) * | 2021-11-16 | 2022-01-14 | 宁波奥克斯电气股份有限公司 | Air conditioner clock correction method and air conditioner test equipment |
CN114553355A (en) * | 2022-01-18 | 2022-05-27 | 山东梅格彤天电气有限公司 | High-precision time synchronization method, device and system for low-voltage intelligent terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104869628B (en) | 2019-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104869628A (en) | Clock calibration method of air-condition electric control device, air-condition electric control device, terminal and system | |
CN105338613B (en) | A kind of system and method synchronous to dispersed nodes clock synchronization using wireless communication | |
CN103414547B (en) | A kind of main website controls method, main website and the system of many slave stations | |
US10042383B2 (en) | Navigation system and mouse device | |
CN103955257A (en) | Method and device for calibrating system clocks of single chip microcomputers, and air conditioner control system | |
CN110611876B (en) | Indoor asset management method, device and system | |
US20190018145A1 (en) | Communications system | |
CN105700337A (en) | Clock synchronization method and device applied to vehicle-borne terminal | |
US20240214095A1 (en) | Clock synchronization method of control system and control system | |
WO2022062671A1 (en) | Timing synchronization method, visual navigation aid device control method, and related apparatuses | |
CN110174922A (en) | A kind of calibration method and device of HSI clock frequency | |
CN103684358A (en) | Sampling pulse generation method and device | |
CN106294852A (en) | A kind of method that monitors for a long time to storage data | |
CN107678421A (en) | A kind of pulse matching system and method in train control system | |
CN103292647B (en) | Clock calibration method of electronic detonator control circuit and electronic initiation system | |
CN111107623A (en) | System clock synchronization method | |
CN103513698B (en) | A kind of clock signal calibration, device and electronic equipment | |
CN208984962U (en) | Clock of power meter detection device and electric energy meter | |
CN105116712A (en) | Method for automatically calibrating built-in crystal oscillator | |
CN104753497A (en) | Method and device for correcting OSCPPS | |
CN103368786A (en) | Test method and test device of controller area network bus data | |
US11923863B2 (en) | FPGA-based design method and device for equally dividing interval | |
CN206251105U (en) | For the VCXO soft-lock phase devices of base station | |
CN109309637B (en) | Data storage method, device and storage medium for transmission signals | |
CN110519790B (en) | Time delay calibration method and device, synchronous controller and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |