CN115083137A - Processing system of infrared compensation - Google Patents
Processing system of infrared compensation Download PDFInfo
- Publication number
- CN115083137A CN115083137A CN202210855136.5A CN202210855136A CN115083137A CN 115083137 A CN115083137 A CN 115083137A CN 202210855136 A CN202210855136 A CN 202210855136A CN 115083137 A CN115083137 A CN 115083137A
- Authority
- CN
- China
- Prior art keywords
- value
- infrared
- pulse
- count value
- clock
- 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
- 238000000034 method Methods 0.000 abstract description 14
- 230000003014 reinforcing effect Effects 0.000 abstract description 7
- 230000005540 biological transmission Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 239000000919 ceramic Substances 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 239000013078 crystal Substances 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003071 parasitic effect Effects 0.000 description 2
- 238000000354 decomposition reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000006798 recombination Effects 0.000 description 1
- 238000005215 recombination Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C23/00—Non-electrical signal transmission systems, e.g. optical systems
- G08C23/04—Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G3/00—Producing timing pulses
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G5/00—Setting, i.e. correcting or changing, the time-indication
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Photometry And Measurement Of Optical Pulse Characteristics (AREA)
Abstract
The embodiment of the application provides an infrared compensation processing system, including real-time clock, event trigger, system clock source, reinforcing timer and infrared emission unit, through using real-time clock, event trigger, reinforcing timer, periodically trigger on real-time clock and send pulse signal to reinforcing timer, catch the pulse count value that pulse signal corresponds through reinforcing timer, and with pulse count value and by system clock source obtain infrared carrier wave compensation value is confirmed to the clock standard count value, and then accurate transmission infrared carrier signal, in order to solve the correlation technique, infrared emission clock source takes place infrared emission carrier wave and deviates the phenomenon, leads to the unable problem of realizing infrared control equipment.
Description
Technical Field
The application relates to the technical field of clock calibration, in particular to an infrared compensation processing system.
Background
The application of MCU (microcontroller) is very extensive, including a plurality of fields such as household electrical appliances, digital, industry, medical electronics, infrared remote control obtains extensive use in the product in above-mentioned field, because MCU's inside high-speed clock source receives the influence of technology level restriction and environmental factor (temperature, voltage) to and external parasitic capacitance in PCB (printed board), its precision is lower. The infrared control device is used as an infrared emission clock source to cause the infrared emission carrier to deviate, so that the problem that the infrared control device cannot be controlled is solved.
Disclosure of Invention
In view of the above, the present application provides an infrared compensation processing system to solve at least the problems in the related art.
The embodiment of the application provides a processing system of infrared compensation, includes:
the real-time clock is used for periodically outputting a trigger signal to the event trigger;
the event trigger is used for receiving the trigger signal, generating a pulse signal and sending the pulse signal to the enhancement timer;
the system clock source is used for generating a clock standard count value and sending the clock standard count value to the enhanced timer;
the enhanced timer is used for determining a pulse count value corresponding to the pulse signal and determining an infrared carrier compensation value according to the pulse count value and the clock standard count value; and
and the infrared transmitting unit is used for receiving the infrared carrier compensation value and transmitting an infrared carrier signal according to the infrared carrier compensation value.
In some embodiments, the infrared compensated processing system comprises: a calibration module;
the calibration module is used for correcting the system clock source according to the pulse count value and the clock standard count value.
In some embodiments, the boost timer comprises: a pulse counting module;
the pulse counting module is used for acquiring a counting value of a pulse signal generating a falling edge, and determining the pulse counting value according to a difference value of a first counting value acquired by the pulse counting module at the current falling edge and a second counting value acquired by the pulse counting module at the next falling edge.
In some embodiments, the calibration module comprises: a first calibration module;
the first calibration module is used for adjusting the system clock source downwards and adjusting the falling edge generated by the pulse signal to be a first falling edge under the condition that the pulse count value is smaller than the clock standard count value.
In some embodiments, the calibration module comprises: a second calibration module;
the second calibration module is used for adjusting the system clock source upwards and adjusting the falling edge generated by the pulse signal to be a second falling edge if the pulse count value is larger than the clock standard count value.
In some embodiments, the calibration module further comprises: a third calibration module;
the third calibration module is used for calibrating the system clock source according to preset times, and acquiring the mean value of the pulse count value acquired corresponding to the calibration times under the condition that the preset times are met.
In some embodiments, the infrared compensated processing system further comprises: an infrared carrier compensation module;
the infrared carrier compensation module is used for calculating an infrared carrier compensation value based on the clock standard counting value and the mean value of the pulse counting value.
In some embodiments, the infrared carrier compensation value comprises a first infrared carrier compensation value, and the infrared compensated processing system further comprises: a first infrared emission adjustment module;
the first infrared emission adjusting module is used for determining a first infrared carrier compensation value based on the clock standard counting value minus the mean value of the pulse counting value and multiplying the clock standard counting value minus the mean value of the pulse counting value by an adjusting coefficient under the condition that the clock standard counting value is larger than the mean value of the pulse counting value.
In some embodiments, the infrared carrier compensation values include a second infrared carrier compensation value, and the infrared compensated processing system further includes: a second infrared emission adjustment module;
and the second infrared emission adjusting module is used for determining a second infrared carrier compensation value by multiplying the clock standard count value subtracted from the mean value of the pulse count value by an adjusting coefficient under the condition that the clock standard count value is smaller than the mean value of the pulse count value.
In some embodiments, the real-time clock determines a period value of the pulse signal generating the falling edge using a first calculation equation T ═ ((division coefficient +1) × (tick value + 1))/number of real-time clocks.
The embodiment of the application provides a processing system of infrared compensation, through using real-time clock, event trigger, reinforcing timer, periodically trigger the event trigger on real-time clock and send pulse signal to reinforcing timer, catch the pulse count value that pulse signal corresponds through reinforcing timer to with pulse count value and by system clock source obtain infrared carrier wave compensation value is confirmed to the clock standard count value, and then accurate transmission infrared carrier signal, in order to overcome correlation technique, infrared transmission clock source takes place infrared transmission carrier wave and deviates the phenomenon, leads to the unable problem that realizes infrared control equipment.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present application, nor do they limit the scope of the present application. Other features of the present application will become apparent from the following description.
Drawings
The present application will be described in more detail below on the basis of embodiments and with reference to the accompanying drawings.
FIG. 1 is a schematic diagram of an infrared compensated processing system as set forth in an embodiment of the present application;
FIG. 2 is a flow chart illustrating an IR compensation process in an IR compensated processing system according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a flow of a mean operation of a count value in an infrared compensation processing system according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to examples and the accompanying drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present invention and are not used as limiting the present invention.
In the related art, since an internal high-speed clock source of the MCU is affected by process level limitations and environmental factors (temperature, voltage), and external parasitic capacitance in a PCB (printed circuit board), its accuracy is low. In the related art, the infrared control device is usually implemented by using an external ceramic oscillator, counting an external input standard signal, calculating a frequency tone, filling a clock frequency register, and timing with SOF (start of frame) intervals on a USB bus.
However, in the related art, although the external ceramic oscillator is used, although the infrared emission precision is improved, the cost is increased due to the fact that the external equipment and the connection are additionally added by the filling of the clock frequency register, and the problem of complex process exists when the filling of the clock frequency register is used and timing is performed by utilizing SOF (start of frame) intervals on the USB bus.
In view of the above problems, in order to avoid additional external devices, save cost, occupy no chip resources, and satisfy the requirement of implementing an infrared control device under the condition of external environment changes, the applicant proposes an infrared compensation processing system according to an embodiment of the present application, in which a real-time clock, an event trigger, and an enhanced timer are used, the event trigger is periodically triggered on the real-time clock to send a pulse signal to the enhanced timer, a pulse count value corresponding to the pulse signal is captured by the enhanced timer, and the pulse count value and a clock standard count value obtained by a system clock source are used to determine an infrared carrier compensation value, so as to accurately transmit an infrared carrier signal, and calibration compensation is implemented without occupying chip resources and adding additional external devices. The processing system for infrared compensation is described in detail in the following embodiments.
The following describes a processing system for infrared compensation provided by an embodiment of the present application with reference to fig. 1 and fig. 3:
referring to fig. 1, fig. 1 is a schematic diagram of an infrared compensation processing system provided in an embodiment of the present application, in which the infrared compensation processing system may include a real-time clock, an event trigger, a system clock source, an enhanced timer, and an infrared emission unit.
The real-time clock is used for periodically outputting a trigger signal to the event trigger;
the event trigger is used for receiving the trigger signal, generating a pulse signal and sending the pulse signal to the enhancement timer;
the system clock source is used for generating a clock standard count value and sending the clock standard count value to the enhanced timer;
the enhanced timer is used for determining a pulse count value corresponding to the pulse signal and determining an infrared carrier compensation value according to the pulse count value and a clock standard count value;
and the infrared transmitting unit is used for receiving the infrared carrier compensation value and transmitting an infrared carrier signal according to the infrared carrier compensation value.
In the embodiment of the present application, an RTC (real time clock), an ES (event trigger), and an ETM (enhanced timer) module inside the MCU are mainly used. The method comprises the steps of periodically triggering an ES (interference rejection) to send pulses through an RTC (real time clock), capturing the ES pulses by using an ETM (extract-transform-memory) capture device, calculating a clock calibration value, capturing pulse count values corresponding to pulse signals by using an enhanced timer, determining infrared carrier compensation values according to the pulse count values and clock standard count values obtained by a system clock source, and further accurately transmitting the infrared carrier signals. The real-time calibration is implemented entirely in software, as long as between-40 and 85 degrees regardless of ambient temperature variations. And carrying out calibration compensation.
It should be noted that, in the embodiment of the present application, the infrared carrier deviation phenomenon is corrected by using a software compensation method. After the system is powered on, a user initializes an ETM (enhanced timer), an RTC (Real-Time Counter), and an ES (event signal trigger) according to requirements. Configuring a Channel of ES (event signal trigger) and a Channel _ ETM (ETM Channel) of ETM for chip internal connection. The connection does not occupy system resources such as bus, RAM.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating an IR compensation process in an infrared compensation processing system according to an embodiment of the present disclosure.
In some possible embodiments, the enhancement timer includes: a pulse counting module;
and the pulse counting module is used for acquiring a count value of the pulse signal generating the falling edge and determining the pulse count value according to a difference value of a first count value acquired by the current falling edge pulse counting module and a second count value acquired by the next falling edge pulse counting module.
It should be noted that, when performing infrared compensation, first, the internal clock needs to be calibrated, the system clock is switched to 8MHZ, the RTC clock source is configured to be an external LOSC (low speed crystal oscillator), and the ETM clock source can be selectively set to a falling edge capture mode of the internal clock 8MHZ, so as to start the RTC, ES, and ETM.
Consider to reduce systematic operations.
For example, the RTC sets ES _ PERIOD to 1ms, which theoretically generates a high clock _ REF _ PERIOD (reference PERIOD value in internal high speed, actually calculated) of 8000 count values at a clock of 8 MHZ. The RTC is used to trigger the ES pulses at 1ms intervals, and the ETM captures the periodic ES pulses through the (ETM Channel), i.e., Channel _ ETM. When the pulse has a falling edge, an enhanced timer interrupt is generated, the captured count value is stored in bef _ count (the last count value), the next interrupt coming count value is cur _ count (the current count value), and the difference between cur _ count and bef _ count is the actual count (the cycle pulse count value).
In some possible embodiments, the infrared compensated processing system includes: a calibration module;
the calibration module is used for correcting the system clock source according to the pulse count value and the clock standard count value.
The calibration module includes: a first calibration module;
the first calibration module is used for adjusting a system clock source downwards and adjusting a falling edge generated by a pulse signal to be a first falling edge under the condition that the pulse count value is smaller than the clock standard count value.
In some possible embodiments, the calibration module comprises: a second calibration module;
and the second calibration module is used for adjusting the system clock source upwards and adjusting the falling edge generated by the pulse signal to be a second falling edge under the condition that the pulse count value is greater than the clock standard count value.
In the above embodiments of the present application, the difference between cur _ count and bef _ count is the actual count (the value of the PERIOD pulse count), the count is compared with the theoretical hirclm _ REF _ PERIOD (the value of the reference PERIOD at high internal speed), if the count is smaller than hirclm _ REF _ PERIOD (the value of the reference PERIOD at high internal speed), the current internal clock is adjusted downward, and if the count is larger than hirclm _ REF _ PERIOD, the current internal clock is adjusted upward.
For example, the calibration may be performed by a division-by-2 method, and the calibration is considered to be completed when the value of count (cycle pulse count) captured after 5 times of adjustment is between 7988 and 8012 from the adjustment of maximum 5% to 0.156%.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating a flow of a mean value operation of a count value in an infrared compensation processing system according to an embodiment of the present application.
In some possible embodiments, the calibration module further comprises: a third calibration module;
and the third calibration module is used for calibrating the system clock source according to the preset times, and acquiring the mean value of the pulse count values acquired corresponding to the calibration times under the condition of meeting the preset times.
In some possible embodiments, the infrared carrier compensation value includes a first infrared carrier compensation value, and the infrared compensated processing system further includes: a first infrared emission adjustment module;
the first infrared emission adjusting module is used for determining a first infrared carrier compensation value based on the clock standard counting value minus the mean value of the pulse counting value and then multiplying the clock standard counting value minus the mean value of the pulse counting value by an adjusting coefficient under the condition that the clock standard counting value is larger than the mean value of the pulse counting value.
In some possible embodiments, the infrared carrier compensation value includes a second infrared carrier compensation value, and the infrared compensated processing system further includes: a second infrared emission adjustment module;
and the second infrared emission adjusting module is used for determining a second infrared carrier compensation value by multiplying the clock standard count value subtracted from the mean value of the pulse count value by an adjusting coefficient under the condition that the clock standard count value is smaller than the mean value of the pulse count value.
In some possible embodiments, the infrared compensated processing system further comprises: an infrared carrier compensation module;
the infrared carrier compensation module is used for calculating an infrared carrier compensation value based on the average value of the clock standard counting value and the pulse counting value.
In some possible embodiments, the real-time clock determines the period value of the pulse signal generating the falling edge using a first calculation formula T ═ ((division factor +1) × (tick value + 1))/number of real-time clocks.
It should be noted that, when the internal high-speed clock is 7.9545MHZ, and the calculated value of 1 millisecond is 7768, RTCCLK can be derived according to the calculation formula of T, and if it is 900S, the specific coefficient of 7768 can be derived.
In the above embodiment of the present application, the calibration time may be set to 1, and the average value period may be obtained by collecting the count value period (average) 3 times in total. If the value of HIRCTRIM _ REF _ PERIOD is greater than the mean value, then (HIRCTRIM _ REF _ PERIOD-PERIOD) A (A is the calculated adjusting coefficient), otherwise (PERIOD-HIRCTRIM _ REF _ PERIOD) (A is the calculated adjusting coefficient), the obtained value is written into an infrared emission counting register, the calculation equation T of the PERIOD value T under the condition that A calculates 1HZ through RTC (real time clock) is ((frequency division coefficient +1) (tick value +1))/RTCCLK (number of real time clocks), then an RTCCLK relational expression is deduced by using an internal high-speed clock, and the equation of T is substituted so as to deduce a proportional coefficient. So far the deviation of the infrared emission will be corrected regardless of the external temperature and humidity changes.
The processing system of infrared compensation that this application embodiment provided includes: the system comprises a real-time clock, an event trigger, a system clock source, an enhanced timer and an infrared emission unit, wherein an external low-speed crystal oscillator of a microcontroller is used as an RTC (real-time clock) clock source, the RTC (real-time clock) is configured to periodically trigger ES (event trigger) to send out pulses, an internal high-speed clock is used as an ETM clock source, pulse count values sent out by the event trigger are captured through an ETM (enhanced timer) of an MCU (microprogrammed control unit), the pulse count values are compared with a clock standard count value, actual deviation is calculated, an internal clock fine tuning register and a internal clock coarse tuning register are adjusted step by step, and therefore the purposes of adjusting the internal clock precision and calculating the difference value of the final pulse count value and the clock standard count value are achieved. The calculation equation T of the period value T under the condition of 1HZ is calculated by an RTC (real time clock) ((frequency division coefficient +1) ((tick value +1))/RTCCLK (number of real time clocks), an RTCCLK relational expression is derived by utilizing an internal high-speed clock, the equation of T is substituted so as to derive a proportionality coefficient, an infrared carrier compensation value is calculated according to the proportionality coefficient and a difference value, the purpose of accurately transmitting an infrared carrier signal is achieved, the internal clock of the scheme is accurately calibrated, the cost can be reduced, and the method is completely executed by software.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a controller to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media that can store program code, such as removable storage devices, ROMs, magnetic or optical disks, etc.
In the system of the present invention, it is apparent that the respective components or steps may be decomposed, combined, and/or recombined after being decomposed. These decompositions and/or recombinations are to be regarded as equivalents of the present invention. Also, in the above description of specific embodiments of the invention, features described and/or illustrated with respect to one embodiment may be used in the same way or in a similar way in one or more other embodiments, in combination with or instead of the features in the other embodiments.
It should be emphasized that the term "comprises/comprising" when used herein, is taken to specify the presence of stated features, elements, steps or components, but does not preclude the presence or addition of one or more other features, elements, steps or components.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (10)
1. An infrared compensated processing system, comprising:
the real-time clock is used for periodically outputting a trigger signal to the event trigger;
the event trigger is used for receiving the trigger signal, generating a pulse signal and sending the pulse signal to the enhancement timer;
the system clock source is used for generating a clock standard count value and sending the clock standard count value to the enhanced timer;
the enhanced timer is used for determining a pulse count value corresponding to the pulse signal and determining an infrared carrier compensation value according to the pulse count value and the clock standard count value; and
and the infrared transmitting unit is used for receiving the infrared carrier compensation value and transmitting an infrared carrier signal according to the infrared carrier compensation value.
2. The system of claim 1, wherein the infrared compensated processing system comprises: a calibration module;
the calibration module is used for correcting the system clock source according to the pulse count value and the clock standard count value.
3. The system of claim 1, wherein the enhanced timer comprises: a pulse counting module;
the pulse counting module is used for acquiring a counting value of a pulse signal generating a falling edge, and determining the pulse counting value according to a difference value of a first counting value acquired by the pulse counting module at the current falling edge and a second counting value acquired by the pulse counting module at the next falling edge.
4. The system of claim 2, wherein the calibration module comprises: a first calibration module;
the first calibration module is used for adjusting the system clock source downwards and adjusting the falling edge generated by the pulse signal to be a first falling edge under the condition that the pulse count value is smaller than the clock standard count value.
5. The system of claim 2, wherein the calibration module comprises: a second calibration module;
the second calibration module is used for adjusting the system clock source upwards and adjusting the falling edge generated by the pulse signal to be a second falling edge if the pulse count value is larger than the clock standard count value.
6. The system of claim 2, wherein the calibration module further comprises: a third calibration module;
the third calibration module is used for calibrating the system clock source according to preset times, and acquiring the mean value of the pulse count value acquired corresponding to the calibration times under the condition that the preset times are met.
7. The system of claim 6, wherein the infrared compensated processing system further comprises: an infrared carrier compensation module;
the infrared carrier compensation module is used for calculating an infrared carrier compensation value based on the mean value of the clock standard counting value and the pulse counting value.
8. The system of claim 7, wherein the infrared carrier compensation value comprises a first infrared carrier compensation value, and wherein the infrared compensated processing system further comprises: a first infrared emission adjustment module;
the first infrared emission adjustment module is used for determining a first infrared carrier compensation value based on the clock standard count value minus the mean value of the pulse count values and multiplying the clock standard count value minus the mean value of the pulse count values by an adjustment coefficient under the condition that the clock standard count value is larger than the mean value of the pulse count values.
9. The system of claim 7, wherein the infrared carrier compensation value comprises a second infrared carrier compensation value, and wherein the infrared compensated processing system further comprises: a second infrared emission adjustment module;
and the second infrared emission adjusting module is used for determining a second infrared carrier compensation value by multiplying the clock standard count value subtracted from the mean value of the pulse count value by an adjusting coefficient under the condition that the clock standard count value is smaller than the mean value of the pulse count value.
10. The system of claim 3, wherein the real-time clock determines the period value of the pulse signal generating the falling edge using a first calculation equation of ((division factor +1) × (tick value + 1))/number of real-time clocks.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210855136.5A CN115083137B (en) | 2022-07-19 | 2022-07-19 | Infrared compensation processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210855136.5A CN115083137B (en) | 2022-07-19 | 2022-07-19 | Infrared compensation processing system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115083137A true CN115083137A (en) | 2022-09-20 |
CN115083137B CN115083137B (en) | 2023-08-11 |
Family
ID=83260495
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210855136.5A Active CN115083137B (en) | 2022-07-19 | 2022-07-19 | Infrared compensation processing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115083137B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1413054A (en) * | 2001-10-19 | 2003-04-23 | Lg电子株式会社 | Time error compensation device and method for terminal |
CN1673926A (en) * | 2004-03-26 | 2005-09-28 | 联发科技股份有限公司 | Timer system and related method capable of dynamically compensating a difference of a timer |
US20070079166A1 (en) * | 2005-09-30 | 2007-04-05 | Nec Electronics Corporation | Compensated-clock generating circuit and USB device having same |
CN103365336A (en) * | 2013-06-24 | 2013-10-23 | 深圳市文鼎创数据科技有限公司 | Calibration method and device for system clock of USB equipment |
WO2013166005A1 (en) * | 2012-04-30 | 2013-11-07 | Mehta Tech, Inc. | Power system data acquisition systems |
CN205139636U (en) * | 2015-11-23 | 2016-04-06 | 深圳市博巨兴实业发展有限公司 | Microcontroller and timer conter thereof |
JP2018054539A (en) * | 2016-09-30 | 2018-04-05 | パイオニア株式会社 | Detection device, control method, and program |
CN108230646A (en) * | 2017-12-11 | 2018-06-29 | 珠海东之尼电子科技有限公司 | A kind of embedded digital vibrates Digiplex control method |
US20180359031A1 (en) * | 2017-06-12 | 2018-12-13 | Stmicroelectronics (Research & Development) Limited | Vehicle communications using visible light communications |
CN109859454A (en) * | 2017-11-30 | 2019-06-07 | 珠海格力电器股份有限公司 | Infrared code sending circuit, chip, remote control equipment and air conditioner based on infrared protocol |
CN110308762A (en) * | 2019-06-21 | 2019-10-08 | 广芯微电子(广州)股份有限公司 | A kind of clock frequency calibration method of chip interior clock source |
CN113346881A (en) * | 2021-05-27 | 2021-09-03 | 珠海东之尼电子科技有限公司 | Digital clock calibration method, wireless remote controller and storage medium |
-
2022
- 2022-07-19 CN CN202210855136.5A patent/CN115083137B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1413054A (en) * | 2001-10-19 | 2003-04-23 | Lg电子株式会社 | Time error compensation device and method for terminal |
CN1673926A (en) * | 2004-03-26 | 2005-09-28 | 联发科技股份有限公司 | Timer system and related method capable of dynamically compensating a difference of a timer |
US20070079166A1 (en) * | 2005-09-30 | 2007-04-05 | Nec Electronics Corporation | Compensated-clock generating circuit and USB device having same |
WO2013166005A1 (en) * | 2012-04-30 | 2013-11-07 | Mehta Tech, Inc. | Power system data acquisition systems |
CN103365336A (en) * | 2013-06-24 | 2013-10-23 | 深圳市文鼎创数据科技有限公司 | Calibration method and device for system clock of USB equipment |
CN205139636U (en) * | 2015-11-23 | 2016-04-06 | 深圳市博巨兴实业发展有限公司 | Microcontroller and timer conter thereof |
JP2018054539A (en) * | 2016-09-30 | 2018-04-05 | パイオニア株式会社 | Detection device, control method, and program |
US20180359031A1 (en) * | 2017-06-12 | 2018-12-13 | Stmicroelectronics (Research & Development) Limited | Vehicle communications using visible light communications |
CN109859454A (en) * | 2017-11-30 | 2019-06-07 | 珠海格力电器股份有限公司 | Infrared code sending circuit, chip, remote control equipment and air conditioner based on infrared protocol |
CN108230646A (en) * | 2017-12-11 | 2018-06-29 | 珠海东之尼电子科技有限公司 | A kind of embedded digital vibrates Digiplex control method |
CN110308762A (en) * | 2019-06-21 | 2019-10-08 | 广芯微电子(广州)股份有限公司 | A kind of clock frequency calibration method of chip interior clock source |
CN113346881A (en) * | 2021-05-27 | 2021-09-03 | 珠海东之尼电子科技有限公司 | Digital clock calibration method, wireless remote controller and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115083137B (en) | 2023-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2369438B1 (en) | Calibration method of a real time clock signal | |
US20070079166A1 (en) | Compensated-clock generating circuit and USB device having same | |
CN1909375A (en) | Real-time clock device and current time compensating method | |
US10042383B2 (en) | Navigation system and mouse device | |
US9054851B2 (en) | Dithering circuit for serial data transmission | |
CN102073033A (en) | Method for generating high-precision stepping delay capable of dynamic calibration | |
US6084441A (en) | Apparatus for and method of processing data | |
CN111831056A (en) | Real-time clock calibration module and method and real-time clock chip | |
US10082824B2 (en) | Method and device for clock calibration and corresponding apparatus | |
CN113970698A (en) | Method and system for calibrating off-chip crystal oscillator | |
CN115083137A (en) | Processing system of infrared compensation | |
US20130018631A1 (en) | Method and system for measuring time | |
CN111679714B (en) | Cross-chip signal synchronization method and device and chip | |
CN117111681A (en) | Method, device, equipment and storage medium for calibrating chip clock | |
US20130018630A1 (en) | Method and system for measuring distance | |
CN109167736B (en) | High-uniformity data packet sending method and device | |
CN212364801U (en) | RTC calibration circuit of smoke detector MCU | |
CN206251105U (en) | For the VCXO soft-lock phase devices of base station | |
US6392961B1 (en) | Real-time clock for consumer devices and method for implementing such a clock | |
CN113271168B (en) | Power distribution network clock synchronization implementation method based on satellite common view | |
CN111897202A (en) | RTC (real time clock) calibration circuit and method of smoke detector MCU (microprogrammed control Unit) | |
CN112558685A (en) | Time synchronization method for power distribution terminal modules | |
US6141296A (en) | Time-of-day clock assembly | |
JP2004272403A (en) | Process input/output device and monitor control system using the same | |
CN112448715B (en) | Method and system for calibrating HIRC by using PES (PES) signal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |