WO2022227605A1 - Low-power-consumption hygrothermograph circuit structure and measurement control method therefor - Google Patents

Low-power-consumption hygrothermograph circuit structure and measurement control method therefor Download PDF

Info

Publication number
WO2022227605A1
WO2022227605A1 PCT/CN2021/138241 CN2021138241W WO2022227605A1 WO 2022227605 A1 WO2022227605 A1 WO 2022227605A1 CN 2021138241 W CN2021138241 W CN 2021138241W WO 2022227605 A1 WO2022227605 A1 WO 2022227605A1
Authority
WO
WIPO (PCT)
Prior art keywords
measurement
temperature
module
counter
low
Prior art date
Application number
PCT/CN2021/138241
Other languages
French (fr)
Chinese (zh)
Inventor
孙军
沈天平
姜黎黎
Original Assignee
华润微集成电路(无锡)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华润微集成电路(无锡)有限公司 filed Critical 华润微集成电路(无锡)有限公司
Publication of WO2022227605A1 publication Critical patent/WO2022227605A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D27/00Simultaneous control of variables covered by two or more of main groups G05D1/00 - G05D25/00
    • G05D27/02Simultaneous control of variables covered by two or more of main groups G05D1/00 - G05D25/00 characterised by the use of electric means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06MCOUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
    • G06M1/00Design features of general application
    • G06M1/27Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum
    • G06M1/272Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum using photoelectric means

Definitions

  • the invention relates to the field of humidity thermometers, in particular to the technical field of temperature and humidity meters with low power consumption, in particular to a circuit structure of a low power consumption temperature and humidity meter and a measurement control method thereof.
  • thermohygrometer that realizes the temperature and humidity function in this way: on the one hand, the accuracy of the measurement, in the process of information collection and processing, due to the influence of the SOC's own operating frequency and sampling mechanism, There is a certain delay between the MCU obtaining the "start sampling" command and the actual sampling process, which affects the timeliness of the collected information, thus affecting the accuracy of the measurement results; on the other hand, the power consumption The realization of low power consumption is also an important indicator for considering product performance.
  • the architecture shown in Figure 1 is adopted.
  • MCU configures TIMER0/1, TIMER0 counts a fixed time T, and TIMER1 measures the number of oscillations N0 of the analog circuit in the case of the reference resistance within the time T, and the MCU reads the interrupt after receiving the interrupt generated by TIMER0 reaching time T.
  • the MCU configures TIMER0/1 again to obtain the number of oscillations N1 of the analog circuit in the case of humidity/thermistor within the time T; finally, the software compares the values of N0 and N1.
  • the software part calculates the error time between the interrupt generated by TIMER0 and the reading of the N0/N1 value by the MCU according to the operating frequency, and then the measurement results N0 and N1 are calculated according to the error time. Compensation is performed to eliminate errors.
  • the system clock is switched to a low-speed clock when performing the temperature and humidity detection function, thereby reducing the overall power consumption of the system.
  • the measurement accuracy is optimized by means of software compensation, the compensation value depends on the operating frequency of the system, and the reliability is low.
  • the register needs to be configured multiple times in one measurement cycle, the operation is complicated, and the program area occupies a large amount of space.
  • the purpose of the present invention is to overcome at least one of the above shortcomings, and to provide a low power consumption thermohygrometer circuit structure and a measurement control method with low power consumption and more accurate measurement accuracy.
  • circuit structure of the low-power thermohygrometer of the present invention and its measurement control method are as follows:
  • circuit structure of the low-power temperature and humidity meter includes:
  • micro-control unit is connected with an external software module, and is used to configure the register module;
  • the register module is connected with the micro-control unit, and is used to realize the measurement of temperature and humidity through the change of the internal state machine of the register module;
  • a clock module connected with the register module, is used for providing a clock source signal for the register module.
  • the clock module is connected to an external low-frequency crystal oscillator and a high-frequency crystal oscillator to provide a clock source input signal for the circuit structure.
  • the clock source input signal includes a low-speed clock signal and a high-speed clock signal.
  • the clock module is connected to the micro-control unit and provides the micro-control unit with the high-speed clock signal, and the clock module provides the register module with the high-speed clock signal or the low-speed clock. Signal.
  • the register module specifically includes:
  • a temperature and humidity control module connected to the micro-control unit, for receiving a measurement start instruction sent by the micro-control unit, and sending measurement results to the micro-control unit;
  • a first counter connected with the temperature and humidity control module and the micro-control unit, for receiving and executing the start measurement instruction
  • the second counter is connected with the temperature and humidity control module and the micro-control unit, and is used for receiving and executing the start measurement instruction.
  • the clock module is connected to the temperature and humidity control module, and is used to provide the temperature and humidity control module with a high-speed clock signal or a low-speed clock signal as a clock source input signal of the circuit structure;
  • Described clock module is connected with described first counter, is used to provide high-speed clock signal or low-speed clock signal for described first counter as the clock source input signal of described circuit structure;
  • the clock module is connected to the second counter through a selector, and is used to provide the second counter with a high-speed clock signal or a low-speed clock signal as a clock source input signal of the circuit structure; or
  • the second counter is connected to an external oscillator circuit through a selector, and is used for taking the square wave signal generated by the oscillator circuit as the clock source input signal of the circuit structure.
  • thermohygrometer The main feature of the method for measuring and controlling a thermohygrometer based on the above circuit structure is that the method includes the following steps:
  • the register module receives and executes the start measurement instruction, and realizes the temperature and humidity measurement function through the change of the internal state machine of the register module;
  • the circuit structure performs measurement work, and feeds back the measurement result to the user through the micro-control unit, so as to wait for the next measurement instruction.
  • the register module specifically includes a temperature and humidity control module, a first counter and a second counter, wherein the temperature and humidity control module is respectively connected with the first counter and the second counter.
  • the step (1) is specifically as follows: the user sets the measurement duration T and sends a measurement start instruction to the micro-control unit to perform the test work.
  • the step (2) specifically includes the following steps:
  • the micro-control unit configures the register module according to the start measurement instruction, and the micro-control unit enters a sleep state after completion;
  • the step (3) specifically includes the following steps:
  • the described temperature and humidity control module performs the measurement work of the oscillation circuit under the reference resistance
  • the temperature and humidity control module enters the second initialization state, and performs the measurement of the oscillation circuit under the sensor resistance
  • the temperature and humidity control module wakes up the micro-control unit, and the micro-control unit reads the first measurement result and the second measurement result for data processing;
  • the micro-control unit enters a dormant state and waits for the next measurement instruction to arrive.
  • step (3.1) specifically comprises the following steps:
  • the temperature and humidity control module sends the start measurement instruction to the first counter and enters a dormant state
  • the first counter receives and executes the start measurement instruction, and loads the measurement duration T, and the temperature and humidity control module enters the reference resistance oscillation circuit measurement state.
  • the step (3.2) specifically includes the following steps:
  • the temperature and humidity control module acquires and stores the count value of the second counter to acquire the first measurement result, and jumps into the initialization state of the sensor resistance oscillation circuit.
  • step (3.3) is specifically:
  • the first counter is initialized and reloaded with the measurement duration T, and jumps into the measurement state of the sensor resistance oscillating circuit.
  • the step (3.4) specifically includes the following steps:
  • the temperature and humidity control module obtains and stores the count value of the second counter to obtain the second measurement result.
  • the circuit structure of the low-power thermohygrometer and the measurement control method thereof of the present invention greatly optimize the overall structure of the circuit structure by designing the hardware module, and avoid the measurement accuracy problem caused by the system structure.
  • the software method is not affected by the operating frequency of the system, has higher reliability, and greatly reduces the power consumption of the system architecture; for the user side, since there is no need to configure the registers multiple times, the work of repeated operations is reduced frequency, and the software part occupies less resources in the program area. Therefore, it is more convenient and simple for users to apply, and has a wider application value.
  • FIG. 1 is a schematic diagram of an implementation architecture of a temperature and humidity meter according to an exemplary embodiment of the present application.
  • FIG. 2 is a schematic diagram of an overall frame structure of a circuit structure of a low-power thermohygrometer according to an exemplary embodiment of the present application.
  • FIG. 3 is a schematic diagram of an overall process flow of a method for measuring and controlling a low-power thermohygrometer according to an exemplary embodiment of the present application.
  • FIG. 4 is a schematic diagram of state transition of a low power consumption temperature and humidity control module according to an exemplary embodiment of the present application.
  • FIG. 5 is a sequence diagram of error analysis of measurement results for low power consumption temperature and humidity control according to an exemplary embodiment of the present application.
  • FIG. 6 is a sequence diagram of error analysis of measurement results for low power consumption temperature and humidity control according to an exemplary embodiment of the present application.
  • FIG. 2 shows the circuit structure of the low-power temperature and humidity meter, wherein the circuit structure includes:
  • Micro-control unit MCU the micro-control unit MCU is connected with an external software module, and is used to configure the register module;
  • the register module is connected with the micro-control unit MCU, and is used to realize the measurement of temperature and humidity through the change of the internal state machine of the register module;
  • a clock module the clock module is connected with the register module, and is used for providing a clock source signal for the register module.
  • the clock module is connected to an external low-frequency crystal oscillator and a high-frequency crystal oscillator to provide a clock source input signal for the circuit structure.
  • the clock source input signal includes a low-speed clock signal and a high-speed clock signal.
  • the clock module is connected to the micro-control unit MCU, and provides the high-speed clock signal for the micro-control unit MCU, and the clock module is the The register module provides the high-speed clock signal or the low-speed clock signal.
  • the register module specifically includes:
  • the temperature and humidity control module WSD_CTRL connected with the micro-control unit MUC, is used for receiving the start measurement instruction sent by the micro-control unit MUC, and sending the measurement result to the micro-control unit MUC;
  • a first counter TIMER0 connected to the temperature and humidity control module WSD_CTRL and the micro-control unit MUC, for receiving and executing the start measurement instruction
  • the second counter TIMER1 is connected to the temperature and humidity control module WSD_CTRL and the micro control unit MUC, and is used for receiving and executing the start measurement instruction.
  • the clock module is connected to the temperature and humidity control module WSD_CTRL, and is used to provide the temperature and humidity control module WSD_CTRL with a high-speed clock signal or a low-speed clock signal as the clock of the circuit structure source input signal;
  • the clock module is connected with the first counter TIMER0, and is used to provide the first counter TIMER0 with a high-speed clock signal or a low-speed clock signal as a clock source input signal of the circuit structure;
  • the clock module is connected to the second counter TIMER1 through a selector, and is used to provide the second counter TIMER1 with a high-speed clock signal or a low-speed clock signal as the clock source input signal of the circuit structure; or
  • the second counter TIMER1 is connected to an external oscillator circuit through a selector, and is used for using the square wave signal generated by the oscillator circuit as the clock source input signal of the circuit structure.
  • the realization of the temperature and humidity function of the present invention mainly relies on the hardware design, and the entire temperature and humidity measurement workflow is guaranteed through the hardware design.
  • the temperature and humidity control module WSD_CTRL ensures the entire temperature and humidity control module by controlling the first counter TIMER0 and the second counter TIMER1. The measurement process is carried out smoothly, and the first counter TIMER0 and the second counter TIMER1 are responsible for the specific measurement work, and report the relevant information obtained by the measurement to the temperature and humidity control module WSD_CTRL.
  • the micro control unit MCU is responsible for the interaction with the software and hardware, mainly including two aspects, one is to send the "start measurement" command to the temperature and humidity control module WSD_CTRL and set the measurement time length, and the other is to end the measurement.
  • the measurement results are obtained from the temperature and humidity control module WSD_CTRL and reported to the software.
  • the clock source of the microcontroller unit MCU is a high-speed clock
  • the temperature and humidity control module WSD_CTRL and the first counter TIMER0 are clocked by WSD_CLK, and the WSD_CLK clock source can be switched between high-speed and low-speed clocks.
  • the clock input is the square wave generated by the analog oscillator circuit; when the temperature and humidity function is turned off, the clock input source is WSD_CLK.
  • FIG. 3 shows a method for measuring and controlling a thermo-hygrometer based on the above circuit structure, wherein,
  • the method includes the following steps:
  • the described register module receives and executes the described start measurement instruction, and realizes the measurement of the temperature and humidity function through the change of the internal state machine of the described register module;
  • the circuit structure performs measurement work, and feeds back the measurement results to the user through the micro-control unit, so as to wait for the next measurement instruction.
  • the user sets the measurement duration through a software module and sends a measurement start instruction to the micro-control unit MCU, and the micro-control unit MCU configures the register part after receiving the corresponding start measurement instruction, and when the configuration is completed After that, it enters the sleep state.
  • the temperature and humidity control module enters the initialization state and performs the measurement of the oscillation circuit under the reference resistance. After the measurement is completed, the first measurement result is obtained; then, the temperature and humidity control module enters the initialization state again and conducts oscillation under the sensor resistance. The circuit measurement works, and after the measurement is completed, the second measurement result is obtained.
  • the micro-control unit MCU in the dormant state is woken up, and the micro-control unit MCU reads the results obtained from the two measurements and performs corresponding data processing.
  • the micro-control unit MCU enters the dormant state again to Wait for the arrival of the next measurement command.
  • the register module specifically includes a temperature and humidity control module WSD_CTRL, a first counter TIMER0 and a second counter TIMER1, wherein the temperature and humidity control module WSD_CTRL is respectively associated with the first counter TIMER0 and the second counter TIMER1.
  • the two counters TIMER1 are connected.
  • the step (1) is specifically as follows: the user sets the measurement duration T and sends a measurement start instruction to the micro-control unit MUC for testing.
  • the step (2) specifically includes the following steps:
  • the micro-control unit MUC configures the register module according to the start measurement instruction, and the micro-control unit MUC enters a dormant state after completion;
  • the step (3) specifically includes the following steps:
  • the described temperature and humidity control module WSD_CTRL performs the measurement work of the oscillation circuit under the reference resistance
  • the temperature and humidity control module WSD_CTRL enters the second initialization state, and performs the measurement of the oscillating circuit under the sensor resistance
  • the temperature and humidity control module WSD_CTRL wakes up the micro-control unit MUC, and the micro-control unit MUC reads the first measurement result and the second measurement result for data processing;
  • the micro-control unit MUC enters a dormant state and waits for the arrival of the next measurement instruction.
  • the step (3.1) specifically includes the following steps:
  • the temperature and humidity control module WSD_CTRL sends the measurement start instruction to the first counter TIMER0 and enters a dormant state;
  • the first counter TIMER0 receives and executes the start measurement instruction, and loads the measurement duration T, and the temperature and humidity control module WSD_CTRL enters the reference resistance oscillation circuit measurement state.
  • the step (3.2) specifically includes the following steps:
  • the temperature and humidity control module WSD_CTRL acquires and stores the count value of the second counter TIMER1 to acquire the first measurement result, and jumps into the sensor resistance oscillation circuit initialization state.
  • step (3.3) is specifically:
  • the first counter TIMER0 is initialized and reloaded with the measurement duration T, and jumps into the measurement state of the sensor resistance oscillating circuit.
  • the step (3.4) specifically includes the following steps:
  • the temperature and humidity control module WSD_CTRL acquires and stores the count value of the second counter TIMER1 to acquire the second measurement result.
  • FIG. 4 shows the conversion process of the temperature and humidity control module of the present invention performing state machine changes, as shown below:
  • the temperature and humidity control module is in sleep state (WSD_IDLE) after reset.
  • the first counter TIMER0 loads the measurement duration T configured by the microcontroller MCU, and jumps into the reference resistance oscillation circuit measurement state (WSD_REF_WAIT).
  • the first counter TIMER0 is initialized and reloaded with the measurement duration T configured by the microcontroller MCU, and jumps into the sensor resistance oscillation circuit measurement state (WSD_SEN_WAIT).
  • thermo-hygrometer in FIG. 4 , it is clear that in the overall architecture of the present invention, when the measurement function of the thermo-hygrometer is running, the microcontroller MCU actually only sends instructions and collects data at the beginning and the end. Processing related work; in practical applications, this part of the work only takes up a very small part of the time. Therefore, the power consumption can be greatly reduced by the sleep design of the microcontroller unit MCU. In the design of the clock, the temperature and humidity control module and the clock source of the TIMER are designed to be switchable.
  • the temperature and humidity control module and TIMER can still be switched to the low-speed clock operation, which further reduces the power consumption and ensures the normal operation of the temperature and humidity meter function.
  • the temperature and humidity meter function is implemented by software. Since the microcontroller MCU receives the interrupt sent by the first counter TIMER0 and actually reads the count value of the second counter TIMER1, the microcontroller unit The MCU needs to perform some operations such as stacking the incoming interrupt first. During this period of time, the count of TIMER is still accumulating, so there is a certain error between the measured value read by the microcontroller unit MCU and the real value.
  • FIG. 6 shows that the technical solution realizes the temperature and humidity function by means of hardware.
  • the second counter TIMER1 The current count value is loaded into the register wsd_result inside the temperature and humidity control module. wsd_result will hold the measurement value until it is cleared when the next measurement starts. Therefore, when the MCU receives the interrupt signal, enters the interrupt, and reads the register, the value will not be changed, thus eliminating the measurement error caused by the hardware delay.
  • the circuit structure of the low-power thermo-hygrometer and the measurement control method thereof of the present invention greatly optimizes the overall structure of the circuit structure by designing the hardware module, and avoids the measurement accuracy problem caused by the system structure. It is solved by software, which is not affected by the operating frequency of the system, has higher reliability, and greatly reduces the power consumption of the system architecture; for the user side, since there is no need to configure the registers multiple times, repeated operations are reduced. The working frequency is higher, and the software part occupies less resources in the program area. Therefore, it is more convenient and simple for users to apply, and has a wider application value.

Abstract

A low-power-consumption hygrothermograph circuit structure. The circuit structure comprises: a micro-control unit, a register module and a clock module. The micro-control unit is connected to an external software module and is used to configure the register module. The register module is connected to the micro-control unit and is used to measure temperature and humidity by means of changes to an internal state machine of the register module. The clock module is connected to the register module and is used to provide a clock source signal for the register module. The present invention further relates to a corresponding measurement control method. In the circuit structure and the measurement control method therefor, the problem of measurement precision caused by a system framework is avoided by mean of a hardware mode. Compared to a software mode, since the hardware mode is not affected by the working frequency of the system, the reliability is thus higher; and the power consumption of the system is further reduced, thereby having high practicality.

Description

低功耗温湿度计电路结构及其测量控制方法Low-power thermo-hygrometer circuit structure and its measurement control method
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2021年4月26日提交中国专利局、申请号为202110463965.4、发明名称为“低功耗温湿度计电路结构及其测量控制方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on April 26, 2021 with the application number 202110463965.4 and the invention titled "Circuit Structure of Low-Power Thermo-Hygrometer and Its Measurement Control Method", the entire contents of which are approved by Reference is incorporated in this application.
技术领域technical field
本发明涉及湿温度计领域,尤其涉及低功耗的温湿度计技术领域,具体是指一种低功耗温湿度计电路结构及其测量控制方法。The invention relates to the field of humidity thermometers, in particular to the technical field of temperature and humidity meters with low power consumption, in particular to a circuit structure of a low power consumption temperature and humidity meter and a measurement control method thereof.
背景技术Background technique
目前市面上温湿度计实现,都是通过基准电阻和湿敏/热敏电阻构造振荡器模拟电路,再由SOC系统对模拟电路产生的振荡信号进行采集对比。通过这种方式实现温湿度功能的温湿度计,主要存在两个问题:一方面是测量的精度问题,在信息采集和处理的过程中,由于受SOC自身的工作频率及采样机制的影响,在MCU获取到“开始采样”的指令到真正执行采样的过程中,存在一定的延时,这就导致了采集信息的时效性受到了影响,从而影响了测量结果的精度;另一方面是功耗问题,低功耗的实现也是考量产品性能的一个重要指标。At present, the realization of temperature and humidity meters on the market is to construct an oscillator analog circuit through a reference resistor and a humidity/thermistor, and then the SOC system collects and compares the oscillating signals generated by the analog circuit. There are two main problems with the thermohygrometer that realizes the temperature and humidity function in this way: on the one hand, the accuracy of the measurement, in the process of information collection and processing, due to the influence of the SOC's own operating frequency and sampling mechanism, There is a certain delay between the MCU obtaining the "start sampling" command and the actual sampling process, which affects the timeliness of the collected information, thus affecting the accuracy of the measurement results; on the other hand, the power consumption The realization of low power consumption is also an important indicator for considering product performance.
为了解决温湿度计的精度与功耗问题,采用如图一所示的架构。具体操作流程中,首先MCU配置TIMER0/1,由TIMER0计一段固定时间T,由TIMER1测量时间T内参考电阻情况下模拟电路的振荡次数N0,MCU在接收到TIMER0达到时间T产生的中断后读取N0的值;其次MCU再次配置TIMER0/1,以获取时间T内,湿敏/热敏电阻情况下模拟电路的振荡次数N1;最后由软件对N0和N1的值进行比较处理。In order to solve the problem of accuracy and power consumption of the thermo-hygrometer, the architecture shown in Figure 1 is adopted. In the specific operation process, firstly, MCU configures TIMER0/1, TIMER0 counts a fixed time T, and TIMER1 measures the number of oscillations N0 of the analog circuit in the case of the reference resistance within the time T, and the MCU reads the interrupt after receiving the interrupt generated by TIMER0 reaching time T. Take the value of N0; secondly, the MCU configures TIMER0/1 again to obtain the number of oscillations N1 of the analog circuit in the case of humidity/thermistor within the time T; finally, the software compares the values of N0 and N1.
在上述实现方法中,为了解决测量结果的精度问题,由软件部分根据工作频率计算出从TIMER0产生中断到MCU读取N0/N1值之间的误差时间,再根据误差时间对测量结果N0和N1进行补偿,从而消除误差。为了解决功耗问题,在执行温湿度检测功能时将系统时钟切换为低速时钟,以此降低系统的整体功耗。In the above implementation method, in order to solve the problem of the accuracy of the measurement results, the software part calculates the error time between the interrupt generated by TIMER0 and the reading of the N0/N1 value by the MCU according to the operating frequency, and then the measurement results N0 and N1 are calculated according to the error time. Compensation is performed to eliminate errors. In order to solve the problem of power consumption, the system clock is switched to a low-speed clock when performing the temperature and humidity detection function, thereby reducing the overall power consumption of the system.
然而,该实现方法通常具有以下缺点:However, this implementation usually has the following disadvantages:
1.通过软件补偿的方式优化测量精度,补偿值依赖于系统的工作频率,可靠性较低。1. The measurement accuracy is optimized by means of software compensation, the compensation value depends on the operating frequency of the system, and the reliability is low.
2.在温湿度检测功能应用中,MCU实际参与时间非常短,大部分处于TIMER0和TIMER1的计数状态。由于TIMER0与MCU采用同源时钟,所以无法直接关闭时钟源使MCU休眠,只能通过降频的手段降低工作频率来达到降低功耗的效果。因此,在功耗方面,仍存在很大的优化空间。2. In the application of temperature and humidity detection function, the actual participation time of MCU is very short, and most of them are in the counting state of TIMER0 and TIMER1. Since TIMER0 and MCU use the same source clock, it is not possible to directly turn off the clock source to make the MCU sleep. The only way to reduce power consumption is to reduce the operating frequency by means of frequency reduction. Therefore, in terms of power consumption, there is still a lot of room for optimization.
3.在用户操作时,一个测量周期内需要对寄存器进行多次配置,操作复杂,程序区空间占用量大。3. When the user operates, the register needs to be configured multiple times in one measurement cycle, the operation is complicated, and the program area occupies a large amount of space.
发明内容SUMMARY OF THE INVENTION
本发明的目的是克服上述至少一个缺点,提供一种功耗低、测量精度更加准确的低功耗温湿度计电路结构及其测量控制方法。The purpose of the present invention is to overcome at least one of the above shortcomings, and to provide a low power consumption thermohygrometer circuit structure and a measurement control method with low power consumption and more accurate measurement accuracy.
为了实现上述目的,本发明的低功耗温湿度计电路结构及其测量控制方法如下:In order to achieve the above purpose, the circuit structure of the low-power thermohygrometer of the present invention and its measurement control method are as follows:
该低功耗温湿度计电路结构,其主要特点是,所述的电路结构包括:The main feature of the circuit structure of the low-power temperature and humidity meter is that the circuit structure includes:
微控制单元,所述的微控制单元与外部的软件模块相连接,并用于配置寄存器模块;a micro-control unit, the micro-control unit is connected with an external software module, and is used to configure the register module;
所述寄存器模块与所述微控制单元相连接,用于通过所述寄存器模块的内部状态机变化情况实现温湿度的测量;The register module is connected with the micro-control unit, and is used to realize the measurement of temperature and humidity through the change of the internal state machine of the register module;
时钟模块,与所述寄存器模块相连接,用于为所述的寄存器模块提供时钟源信号。A clock module, connected with the register module, is used for providing a clock source signal for the register module.
较佳地,所述的时钟模块与外部的低频晶振和高频晶振相连接,用于为所述电路结构提供时钟源输入信号。Preferably, the clock module is connected to an external low-frequency crystal oscillator and a high-frequency crystal oscillator to provide a clock source input signal for the circuit structure.
较佳地,所述的时钟源输入信号包括低速时钟信号和高速时钟信号。Preferably, the clock source input signal includes a low-speed clock signal and a high-speed clock signal.
较佳地,所述的时钟模块与所述微控制单元相连接,并为所述微控制单元提供所述高速时钟信号,所述时钟模块为所述寄存器模块提供所述高速时钟信号或者低速时钟信号。Preferably, the clock module is connected to the micro-control unit and provides the micro-control unit with the high-speed clock signal, and the clock module provides the register module with the high-speed clock signal or the low-speed clock. Signal.
更佳地,所述的寄存器模块具体包括:Preferably, the register module specifically includes:
温湿度控制模块,与所述微控制单元相连接,用于接收所述微控制单元发送的开始测量指令,以及发送测量结果至所述微控制单元;a temperature and humidity control module, connected to the micro-control unit, for receiving a measurement start instruction sent by the micro-control unit, and sending measurement results to the micro-control unit;
第一计数器,与所述温湿度控制模块以及微控制单元相连接,用于接收并执行所述开始测量指令;a first counter, connected with the temperature and humidity control module and the micro-control unit, for receiving and executing the start measurement instruction;
第二计数器,与所述温湿度控制模块以及微控制单元相连接,用于接收并执行所述开始测量指令。The second counter is connected with the temperature and humidity control module and the micro-control unit, and is used for receiving and executing the start measurement instruction.
较佳地,所述的时钟模块与所述温湿度控制模块相连接,用于为所述温湿度控制模块提供高速时钟信号或者低速时钟信号作为所述电路结构的时钟源输入信号;Preferably, the clock module is connected to the temperature and humidity control module, and is used to provide the temperature and humidity control module with a high-speed clock signal or a low-speed clock signal as a clock source input signal of the circuit structure;
所述的时钟模块与所述第一计数器相连接,用于为所述第一计数器提供高速时钟信号 或者低速时钟信号作为所述电路结构的时钟源输入信号;Described clock module is connected with described first counter, is used to provide high-speed clock signal or low-speed clock signal for described first counter as the clock source input signal of described circuit structure;
所述的时钟模块与所述第二计数器通过选择器相连接,用于为所述第二计数器提供高速时钟信号或者低速时钟信号作为所述电路结构的时钟源输入信号;或者The clock module is connected to the second counter through a selector, and is used to provide the second counter with a high-speed clock signal or a low-speed clock signal as a clock source input signal of the circuit structure; or
所述的第二计数器与外部的振荡电路通过选择器相连接,用于将所述振荡电路产生的方波信号作为所述电路结构的时钟源输入信号。The second counter is connected to an external oscillator circuit through a selector, and is used for taking the square wave signal generated by the oscillator circuit as the clock source input signal of the circuit structure.
该基于上述电路结构进行温湿度计测量控制的方法,其主要特点是,所述的方法包括以下步骤:The main feature of the method for measuring and controlling a thermohygrometer based on the above circuit structure is that the method includes the following steps:
(1)用户通过所述软件模块设置测量时长作为所述电路结构的开始测量指令;(1) The user sets the measurement duration as the start measurement instruction of the circuit structure through the software module;
(2)所述寄存器模块接收并执行所述开始测量指令,并通过所述寄存器模块的内部状态机变化情况实现温湿度测量功能;(2) the register module receives and executes the start measurement instruction, and realizes the temperature and humidity measurement function through the change of the internal state machine of the register module;
(3)所述电路结构进行测量工作,并通过所述微控制单元将测量结果反馈至用户处,以等待下一次测量指令。(3) The circuit structure performs measurement work, and feeds back the measurement result to the user through the micro-control unit, so as to wait for the next measurement instruction.
较佳地,所述的寄存器模块具体包括温湿度控制模块、第一计数器以及第二计数器,其中,所述温湿度控制模块分别与所述第一计数器以及第二计数器相连接。Preferably, the register module specifically includes a temperature and humidity control module, a first counter and a second counter, wherein the temperature and humidity control module is respectively connected with the first counter and the second counter.
较佳地,所述的步骤(1)具体为:用户设置测量时长T并发送开始测量指令至所述微控制单元进行测试工作。Preferably, the step (1) is specifically as follows: the user sets the measurement duration T and sends a measurement start instruction to the micro-control unit to perform the test work.
较佳地,所述的步骤(2)具体包括以下步骤:Preferably, the step (2) specifically includes the following steps:
(2.1)所述微控制单元根据所述开始测量指令配置所述寄存器模块,完成后所述微控制单元进入休眠状态;(2.1) The micro-control unit configures the register module according to the start measurement instruction, and the micro-control unit enters a sleep state after completion;
(2.2)所述温湿度控制模块进入第一次初始化状态。(2.2) The temperature and humidity control module enters the first initialization state.
较佳地,所述的步骤(3)具体包括以下步骤:Preferably, the step (3) specifically includes the following steps:
(3.1)所述的温湿度控制模块进行参考电阻下的振荡电路测量工作;(3.1) The described temperature and humidity control module performs the measurement work of the oscillation circuit under the reference resistance;
(3.2)测量完成时所述温湿度控制模块获取第一次测量结果;(3.2) when the measurement is completed, the temperature and humidity control module obtains the first measurement result;
(3.3)所述温湿度控制模块进入第二次初始化状态,并进行传感器电阻下的振荡电路测量工作;(3.3) The temperature and humidity control module enters the second initialization state, and performs the measurement of the oscillation circuit under the sensor resistance;
(3.4)测量完成时所述温湿度控制模块获取第二次测量结果;(3.4) when the measurement is completed, the temperature and humidity control module obtains the second measurement result;
(3.5)所述的温湿度控制模块唤醒所述的微控制单元,且所述的微控制单元读取所述的第一次测量结果以及第二次测量结果进行数据处理;(3.5) The temperature and humidity control module wakes up the micro-control unit, and the micro-control unit reads the first measurement result and the second measurement result for data processing;
(3.6)所述的微控制单元进入休眠状态,并等待下一次测量指令的到来。(3.6) The micro-control unit enters a dormant state and waits for the next measurement instruction to arrive.
较佳地,所述的步骤(3.1)具体包括以下步骤:Preferably, described step (3.1) specifically comprises the following steps:
(3.1.1)所述温湿度控制模块发送所述开始测量指令至所述第一计数器并进入休眠状 态;(3.1.1) The temperature and humidity control module sends the start measurement instruction to the first counter and enters a dormant state;
(3.1.2)所述第一计数器接收并执行所述开始测量指令,并装载所述测量时长T,所述温湿度控制模块进入参考电阻振荡电路测量状态。(3.1.2) The first counter receives and executes the start measurement instruction, and loads the measurement duration T, and the temperature and humidity control module enters the reference resistance oscillation circuit measurement state.
较佳地,所述的步骤(3.2)具体包括以下步骤:Preferably, the step (3.2) specifically includes the following steps:
(3.2.1)当所述第一计数器的计数值达到所述测量时长T时,所述温湿度控制模块进入参考电阻振荡电路完成状态;(3.2.1) When the count value of the first counter reaches the measurement duration T, the temperature and humidity control module enters the reference resistance oscillation circuit completion state;
(3.2.2)所述的温湿度控制模块获取并存储所述第二计数器的计数值,以获取第一次测量结果,并跳转进入传感器电阻振荡电路初始化状态。(3.2.2) The temperature and humidity control module acquires and stores the count value of the second counter to acquire the first measurement result, and jumps into the initialization state of the sensor resistance oscillation circuit.
较佳地,所述的步骤(3.3)具体为:Preferably, described step (3.3) is specifically:
所述的第一计数器初始化并重新装载所述的测量时长T,并跳转进入传感器电阻振荡电路测量状态。The first counter is initialized and reloaded with the measurement duration T, and jumps into the measurement state of the sensor resistance oscillating circuit.
较佳地,所述的步骤(3.4)具体包括以下步骤:Preferably, the step (3.4) specifically includes the following steps:
(3.4.1)当所述的第一计数器的计算值达到所述测量时长T时,所述的温湿度控制模块跳转进入传感器电阻振荡电路完成状态;(3.4.1) When the calculated value of the first counter reaches the measurement duration T, the temperature and humidity control module jumps into the sensor resistance oscillation circuit completion state;
(3.4.2)所述的温湿度控制模块获取并存储所述第二计数器的计数值,以获取第二次测量结果。(3.4.2) The temperature and humidity control module obtains and stores the count value of the second counter to obtain the second measurement result.
本发明的该低功耗温湿度计电路结构及其测量控制方法,通过设计硬件模块从而对电路结构整体的架构做了较大的优化,规避了由系统架构引起的测量精度问题,相较于软件方式,不受系统工作频率的影响,可靠性更高,并且极大的降低了系统架构的功耗;对于用户端而言,由于不需要对寄存器进行多次配置,降低了重复操作的工作频率,并且软件部分占用程序区的资源更小,因此,对于用户而言在应用上更加便捷,简单,具有较为广泛的应用价值。The circuit structure of the low-power thermohygrometer and the measurement control method thereof of the present invention greatly optimize the overall structure of the circuit structure by designing the hardware module, and avoid the measurement accuracy problem caused by the system structure. The software method is not affected by the operating frequency of the system, has higher reliability, and greatly reduces the power consumption of the system architecture; for the user side, since there is no need to configure the registers multiple times, the work of repeated operations is reduced frequency, and the software part occupies less resources in the program area. Therefore, it is more convenient and simple for users to apply, and has a wider application value.
附图说明Description of drawings
图1为本申请一示例性实施例的温湿度计实现架构示意图。FIG. 1 is a schematic diagram of an implementation architecture of a temperature and humidity meter according to an exemplary embodiment of the present application.
图2为本申请一示例性实施例的低功耗温湿度计电路结构的整体框架结构示意图。FIG. 2 is a schematic diagram of an overall frame structure of a circuit structure of a low-power thermohygrometer according to an exemplary embodiment of the present application.
图3为本申请一示例性实施例的低功耗温湿度计测量控制的方法的整体处理流程示意图。FIG. 3 is a schematic diagram of an overall process flow of a method for measuring and controlling a low-power thermohygrometer according to an exemplary embodiment of the present application.
图4为本申请一示例性实施例的低功耗温湿度控制模块的状态转换示意图。FIG. 4 is a schematic diagram of state transition of a low power consumption temperature and humidity control module according to an exemplary embodiment of the present application.
图5为本申请一示例性实施例的进行低功耗温湿度控制的测量结果误差分析时序图。FIG. 5 is a sequence diagram of error analysis of measurement results for low power consumption temperature and humidity control according to an exemplary embodiment of the present application.
图6为本申请一示例性实施例的进行低功耗温湿度控制的测量结果误差分析时序图。FIG. 6 is a sequence diagram of error analysis of measurement results for low power consumption temperature and humidity control according to an exemplary embodiment of the present application.
具体实施方式Detailed ways
为了能够更清楚地描述本发明的技术内容,下面结合具体实施例来进行进一步的描述。In order to describe the technical content of the present invention more clearly, further description will be given below with reference to specific embodiments.
请参阅图2,图2所示为低功耗温湿度计电路结构,其中,所述的电路结构包括:Please refer to FIG. 2. FIG. 2 shows the circuit structure of the low-power temperature and humidity meter, wherein the circuit structure includes:
微控制单元MCU,所述的微控制单元MCU与外部的软件模块相连接,并用于配置寄存器模块;Micro-control unit MCU, the micro-control unit MCU is connected with an external software module, and is used to configure the register module;
所述的寄存器模块与所述的微控制单元MCU相连接,用于通过所述的寄存器模块的内部状态机变化情况实现温湿度的测量;The register module is connected with the micro-control unit MCU, and is used to realize the measurement of temperature and humidity through the change of the internal state machine of the register module;
时钟模块,所述的时钟模块与所述的寄存器模块相连接,用于为所述的寄存器模块提供时钟源信号。A clock module, the clock module is connected with the register module, and is used for providing a clock source signal for the register module.
作为本发明的优选实施方式,所述的时钟模块与外部的低频晶振和高频晶振相连接,用于为所述的电路结构提供时钟源输入信号。As a preferred embodiment of the present invention, the clock module is connected to an external low-frequency crystal oscillator and a high-frequency crystal oscillator to provide a clock source input signal for the circuit structure.
作为本发明的优选实施方式,所述的时钟源输入信号包括低速时钟信号和高速时钟信号。As a preferred embodiment of the present invention, the clock source input signal includes a low-speed clock signal and a high-speed clock signal.
作为本发明的优选实施方式,所述的时钟模块与所述的微控制单元MCU相连接,并为所述的微控制单元MCU提供所述的高速时钟信号,所述的时钟模块为所述的寄存器模块提供所述的高速时钟信号或者低速时钟信号。As a preferred embodiment of the present invention, the clock module is connected to the micro-control unit MCU, and provides the high-speed clock signal for the micro-control unit MCU, and the clock module is the The register module provides the high-speed clock signal or the low-speed clock signal.
作为本发明的优选实施方式,所述的寄存器模块具体包括:As a preferred embodiment of the present invention, the register module specifically includes:
温湿度控制模块WSD_CTRL,与所述的微控制单元MUC相连接,用于接收所述的微控制单元MUC发送的开始测量指令,以及发送测量结果至所述的微控制单元MUC;The temperature and humidity control module WSD_CTRL, connected with the micro-control unit MUC, is used for receiving the start measurement instruction sent by the micro-control unit MUC, and sending the measurement result to the micro-control unit MUC;
第一计数器TIMER0,与所述温湿度控制模块WSD_CTRL以及微控制单元MUC相连接,用于接收并执行所述开始测量指令;a first counter TIMER0, connected to the temperature and humidity control module WSD_CTRL and the micro-control unit MUC, for receiving and executing the start measurement instruction;
第二计数器TIMER1,与所述的温湿度控制模块WSD_CTRL以及微控制单元MUC相连接,用于接收并执行所述开始测量指令。The second counter TIMER1 is connected to the temperature and humidity control module WSD_CTRL and the micro control unit MUC, and is used for receiving and executing the start measurement instruction.
作为本发明的优选实施方式,所述的时钟模块与所述温湿度控制模块WSD_CTRL相连接,用于为所述的温湿度控制模块WSD_CTRL提供高速时钟信号或者低速时钟信号作为所述电路结构的时钟源输入信号;As a preferred embodiment of the present invention, the clock module is connected to the temperature and humidity control module WSD_CTRL, and is used to provide the temperature and humidity control module WSD_CTRL with a high-speed clock signal or a low-speed clock signal as the clock of the circuit structure source input signal;
所述的时钟模块与所述的第一计数器TIMER0相连接,用于为所述的第一计数器TIMER0提供高速时钟信号或者低速时钟信号作为所述电路结构的时钟源输入信号;The clock module is connected with the first counter TIMER0, and is used to provide the first counter TIMER0 with a high-speed clock signal or a low-speed clock signal as a clock source input signal of the circuit structure;
所述的时钟模块与所述的第二计数器TIMER1通过选择器相连接,用于为所述的第二计数器TIMER1提供高速时钟信号或者低速时钟信号作为所述电路结构的时钟源输入信号;或者The clock module is connected to the second counter TIMER1 through a selector, and is used to provide the second counter TIMER1 with a high-speed clock signal or a low-speed clock signal as the clock source input signal of the circuit structure; or
所述的第二计数器TIMER1与外部的振荡电路通过选择器相连接,用于将所述振荡电路产生的方波信号作为所述电路结构的时钟源输入信号。The second counter TIMER1 is connected to an external oscillator circuit through a selector, and is used for using the square wave signal generated by the oscillator circuit as the clock source input signal of the circuit structure.
本发明的温湿度功能的实现主要依托硬件设计,通过硬件设计来保障整个温湿度计测量的工作流程,其中,温湿度控制模块WSD_CTRL通过对第一计数器TIMER0和第二计数器TIMER1的控制来保障整个测量过程的顺利进行,而第一计数器TIMER0和第二计数器TIMER1负责进行具体的测量工作,并将测量获得的相关信息上报给温湿度控制模块WSD_CTRL。微控制单元MCU则负责与软件与硬件之间的交互工作,主要包括两方面内容,一是将“开始测量”的指令发送给温湿度控制模块WSD_CTRL并设定测量时间长度,二是在测量结束后从温湿度控制模块WSD_CTRL获取测量结果并上报给软件。在时钟的设计上,微控制单元MCU的时钟来源为高速时钟,温湿度控制模块WSD_CTRL和第一计数器TIMER0时钟采用WSD_CLK,WSD_CLK时钟源可以在高速和低速时钟间切换。第二计数器TIMER1模块在温湿度功能运行时,时钟输入为模拟振荡电路产生的方波;在温湿度功能关闭时,时钟输入源为WSD_CLK。The realization of the temperature and humidity function of the present invention mainly relies on the hardware design, and the entire temperature and humidity measurement workflow is guaranteed through the hardware design. The temperature and humidity control module WSD_CTRL ensures the entire temperature and humidity control module by controlling the first counter TIMER0 and the second counter TIMER1. The measurement process is carried out smoothly, and the first counter TIMER0 and the second counter TIMER1 are responsible for the specific measurement work, and report the relevant information obtained by the measurement to the temperature and humidity control module WSD_CTRL. The micro control unit MCU is responsible for the interaction with the software and hardware, mainly including two aspects, one is to send the "start measurement" command to the temperature and humidity control module WSD_CTRL and set the measurement time length, and the other is to end the measurement. Then, the measurement results are obtained from the temperature and humidity control module WSD_CTRL and reported to the software. In the design of the clock, the clock source of the microcontroller unit MCU is a high-speed clock, and the temperature and humidity control module WSD_CTRL and the first counter TIMER0 are clocked by WSD_CLK, and the WSD_CLK clock source can be switched between high-speed and low-speed clocks. When the temperature and humidity function of the second counter TIMER1 module is running, the clock input is the square wave generated by the analog oscillator circuit; when the temperature and humidity function is turned off, the clock input source is WSD_CLK.
请参阅图3,图3所示为基于上述电路结构进行温湿度计测量控制的方法,其中,Please refer to FIG. 3. FIG. 3 shows a method for measuring and controlling a thermo-hygrometer based on the above circuit structure, wherein,
作为本发明的优选实施方式,所述的方法包括以下步骤:As a preferred embodiment of the present invention, the method includes the following steps:
(1)用户通过所述软件模块设置测量时长作为所述电路结构的开始测量指令;(1) The user sets the measurement duration as the start measurement instruction of the circuit structure through the software module;
(2)所述的寄存器模块接收并执行所述开始测量指令,并通过所述的寄存器模块的内部状态机变化情况实现温湿度功能的测量;(2) the described register module receives and executes the described start measurement instruction, and realizes the measurement of the temperature and humidity function through the change of the internal state machine of the described register module;
(3)所述电路结构进行测量工作,并通过所述的微控制单元将测量结果反馈至用户处,以等待下一次测量指令。(3) The circuit structure performs measurement work, and feeds back the measurement results to the user through the micro-control unit, so as to wait for the next measurement instruction.
在本发明的一具体实施方式中,用户通过软件模块设置测量时长并发送开始测量指令给微控制单元MCU,所述的微控制单元MCU接收相应的开始测量指令后就配置寄存器部分,当配置完成后,则进入休眠状态。此时,温湿度控制模块进入初始化状态并进行参考电阻下的振荡电路测量工作,测量完成后,则获取第一次测量结果;随后,温湿度控制模块再次进入初始化状态并进行传感器电阻下的振荡电路测量工作,测量完成后,则获取第二次测量结果。此时,唤醒处于休眠状态下的微控制单元MCU,所述微控制单元MCU读取两次测量所得的结果并进行相应的数据处理,当处理完成后,微控制单元MCU再次进入休眠状态,以等待下一次测量指令的到来。如此重复上述步骤,即可实现预设测量时长 内低功耗状态下的温湿度功能。In a specific embodiment of the present invention, the user sets the measurement duration through a software module and sends a measurement start instruction to the micro-control unit MCU, and the micro-control unit MCU configures the register part after receiving the corresponding start measurement instruction, and when the configuration is completed After that, it enters the sleep state. At this time, the temperature and humidity control module enters the initialization state and performs the measurement of the oscillation circuit under the reference resistance. After the measurement is completed, the first measurement result is obtained; then, the temperature and humidity control module enters the initialization state again and conducts oscillation under the sensor resistance. The circuit measurement works, and after the measurement is completed, the second measurement result is obtained. At this time, the micro-control unit MCU in the dormant state is woken up, and the micro-control unit MCU reads the results obtained from the two measurements and performs corresponding data processing. When the processing is completed, the micro-control unit MCU enters the dormant state again to Wait for the arrival of the next measurement command. By repeating the above steps in this way, the temperature and humidity function in the low power consumption state within the preset measurement duration can be realized.
作为本发明的优选实施方式,所述的寄存器模块具体包括温湿度控制模块WSD_CTRL、第一计数器TIMER0以及第二计数器TIMER1,其中,所述温湿度控制模块WSD_CTRL分别与所述第一计数器TIMER0以及第二计数器TIMER1相连接。As a preferred embodiment of the present invention, the register module specifically includes a temperature and humidity control module WSD_CTRL, a first counter TIMER0 and a second counter TIMER1, wherein the temperature and humidity control module WSD_CTRL is respectively associated with the first counter TIMER0 and the second counter TIMER1. The two counters TIMER1 are connected.
作为本发明的优选实施方式,所述的步骤(1)具体为:用户设置测量时长T并发送开始测量指令至所述的微控制单元MUC进行测试工作。As a preferred embodiment of the present invention, the step (1) is specifically as follows: the user sets the measurement duration T and sends a measurement start instruction to the micro-control unit MUC for testing.
作为本发明的优选实施方式,所述的步骤(2)具体包括以下步骤:As a preferred embodiment of the present invention, the step (2) specifically includes the following steps:
(2.1)所述的微控制单元MUC根据所述开始测量指令配置所述寄存器模块,完成后所述的微控制单元MUC进入休眠状态;(2.1) The micro-control unit MUC configures the register module according to the start measurement instruction, and the micro-control unit MUC enters a dormant state after completion;
(2.2)所述的温湿度控制模块WSD_CTRL进入第一次初始化状态。(2.2) The temperature and humidity control module WSD_CTRL enters the first initialization state.
作为本发明的优选实施方式,所述的步骤(3)具体包括以下步骤:As a preferred embodiment of the present invention, the step (3) specifically includes the following steps:
(3.1)所述的温湿度控制模块WSD_CTRL进行参考电阻下的振荡电路测量工作;(3.1) The described temperature and humidity control module WSD_CTRL performs the measurement work of the oscillation circuit under the reference resistance;
(3.2)测量完成时所述的温湿度控制模块WSD_CTRL获取第一次测量结果;(3.2) The temperature and humidity control module WSD_CTRL described when the measurement is completed obtains the first measurement result;
(3.3)所述的温湿度控制模块WSD_CTRL进入第二次初始化状态,并进行传感器电阻下的振荡电路测量工作;(3.3) The temperature and humidity control module WSD_CTRL enters the second initialization state, and performs the measurement of the oscillating circuit under the sensor resistance;
(3.4)测量完成时所述的温湿度控制模块WSD_CTRL获取第二次测量结果;(3.4) The temperature and humidity control module WSD_CTRL described when the measurement is completed obtains the second measurement result;
(3.5)所述的温湿度控制模块WSD_CTRL唤醒所述的微控制单元MUC,且所述的微控制单元MUC读取所述的第一次测量结果以及第二次测量结果进行数据处理;(3.5) The temperature and humidity control module WSD_CTRL wakes up the micro-control unit MUC, and the micro-control unit MUC reads the first measurement result and the second measurement result for data processing;
(3.6)所述的微控制单元MUC进入休眠状态,并等待下一次测量指令的到来。(3.6) The micro-control unit MUC enters a dormant state and waits for the arrival of the next measurement instruction.
作为本发明的优选实施方式,所述的步骤(3.1)具体包括以下步骤:As a preferred embodiment of the present invention, the step (3.1) specifically includes the following steps:
(3.1.1)所述的温湿度控制模块WSD_CTRL发送所述开始测量指令至所述第一计数器TIMER0并进入休眠状态;(3.1.1) The temperature and humidity control module WSD_CTRL sends the measurement start instruction to the first counter TIMER0 and enters a dormant state;
(3.1.2)所述的第一计数器TIMER0接收并执行所述开始测量指令,并装载所述测量时长T,所述的温湿度控制模块WSD_CTRL进入参考电阻振荡电路测量状态。(3.1.2) The first counter TIMER0 receives and executes the start measurement instruction, and loads the measurement duration T, and the temperature and humidity control module WSD_CTRL enters the reference resistance oscillation circuit measurement state.
作为本发明的优选实施方式,所述的步骤(3.2)具体包括以下步骤:As a preferred embodiment of the present invention, the step (3.2) specifically includes the following steps:
(3.2.1)当所述的第一计数器TIMER0的计数值达到所述测量时长T时,所述的温湿度控制模块WSD_CTRL进入参考电阻振荡电路完成状态;(3.2.1) When the count value of the first counter TIMER0 reaches the measurement duration T, the temperature and humidity control module WSD_CTRL enters the reference resistance oscillation circuit completion state;
(3.2.2)所述的温湿度控制模块WSD_CTRL获取并存储所述的第二计数器TIMER1的计数值,以获取第一次测量结果,并跳转进入传感器电阻振荡电路初始化状态。(3.2.2) The temperature and humidity control module WSD_CTRL acquires and stores the count value of the second counter TIMER1 to acquire the first measurement result, and jumps into the sensor resistance oscillation circuit initialization state.
作为本发明的优选实施方式,所述的步骤(3.3)具体为:As a preferred embodiment of the present invention, the step (3.3) is specifically:
所述的第一计数器TIMER0初始化并重新装载所述的测量时长T,并跳转进入传感器 电阻振荡电路测量状态。The first counter TIMER0 is initialized and reloaded with the measurement duration T, and jumps into the measurement state of the sensor resistance oscillating circuit.
作为本发明的优选实施方式,所述的步骤(3.4)具体包括以下步骤:As a preferred embodiment of the present invention, the step (3.4) specifically includes the following steps:
(3.4.1)当所述的第一计数器TIMER0的计算值达到所述测量时长T时,所述的温湿度控制模块WSD_CTRL跳转进入传感器电阻振荡电路完成状态;(3.4.1) When the calculated value of the first counter TIMER0 reaches the measurement duration T, the temperature and humidity control module WSD_CTRL jumps into the sensor resistance oscillation circuit completion state;
(3.4.2)所述的温湿度控制模块WSD_CTRL获取并存储所述的第二计数器TIMER1的计数值,以获取第二次测量结果。(3.4.2) The temperature and humidity control module WSD_CTRL acquires and stores the count value of the second counter TIMER1 to acquire the second measurement result.
在本发明的一具体实施方式中,请参阅图4,图4所示为本发明的温湿度控制模块进行状态机变化的转换流程,如下所示:In a specific embodiment of the present invention, please refer to FIG. 4 . FIG. 4 shows the conversion process of the temperature and humidity control module of the present invention performing state machine changes, as shown below:
(a)温湿度控制模块在复位后处于休眠状态(WSD_IDLE)。(a) The temperature and humidity control module is in sleep state (WSD_IDLE) after reset.
(b)当接收到微控制单元MCU发出的开始指令(wsd_start=1)后,温湿度控制模块跳转进入参考电阻振荡电路初始化状态(WSD_REF_INIT)。(b) After receiving the start command (wsd_start=1) sent by the microcontroller unit MCU, the temperature and humidity control module jumps into the reference resistance oscillation circuit initialization state (WSD_REF_INIT).
(c)在参考电阻振荡电路初始化状态,第一计数器TIMER0装载微控制单元MCU配置的测量时长T,并跳转进入参考电阻振荡电路测量状态(WSD_REF_WAIT)。(c) In the initialization state of the reference resistance oscillation circuit, the first counter TIMER0 loads the measurement duration T configured by the microcontroller MCU, and jumps into the reference resistance oscillation circuit measurement state (WSD_REF_WAIT).
(d)当第一计数器TIMER0计数值达到测量时长T(timer0_int=1),温湿度控制模块跳转进入参考电阻振荡电路完成状态(WSD_REF_DONE)。(d) When the count value of the first counter TIMER0 reaches the measurement duration T (timer0_int=1), the temperature and humidity control module jumps into the reference resistance oscillation circuit completion state (WSD_REF_DONE).
(e)在参考电阻振荡电路完成状态,温湿度控制模块获取并存储第二计数器TIMER1计数值。完成后(timer1_done=1)跳转进入传感器振荡电路初始化状态(WSD_SEN_INIT)。(e) In the completed state of the reference resistance oscillation circuit, the temperature and humidity control module acquires and stores the count value of the second counter TIMER1. After completion (timer1_done=1), jump into the sensor oscillation circuit initialization state (WSD_SEN_INIT).
(f)在传感器电阻振荡电路初始化状态,第一计数器TIMER0初始化并重新装载微控制单元MCU配置的测量时长T,并跳转进入传感器电阻振荡电路测量状态(WSD_SEN_WAIT)。(f) In the sensor resistance oscillation circuit initialization state, the first counter TIMER0 is initialized and reloaded with the measurement duration T configured by the microcontroller MCU, and jumps into the sensor resistance oscillation circuit measurement state (WSD_SEN_WAIT).
(g)当第一计数器TIMER0计数值达到测量时长T(timer0_int=1),温湿度控制模块跳转进入传感器电阻振荡电路完成状态(WSD_SEN_DONE)。(g) When the count value of the first counter TIMER0 reaches the measurement duration T (timer0_int=1), the temperature and humidity control module jumps into the sensor resistance oscillation circuit completion state (WSD_SEN_DONE).
(h)在参考电阻振荡电路完成状态,温湿度控制模块获取并存储第二计数器TIMER1计数值。完成后(timer1_done=1)跳转回到空闲状态,测量完成。(h) In the completed state of the reference resistance oscillation circuit, the temperature and humidity control module acquires and stores the count value of the second counter TIMER1. After completion (timer1_done=1), jump back to the idle state, and the measurement is completed.
根据图4的温湿度计运行流程图可以清楚的是,在本发明的整体架构中,运行温湿度计测量功能时,微控制单元MCU实际只在开始和结束时进行指令的发送以及数据的采集处理相关工作;而在实际应用中,这部分工作只占用极小的一部分时间。因此通过微控制单元MCU的休眠设计可以在很大程度上降低功耗。而在时钟的设计上,将温湿度控制模块、TIMER的时钟源设计为可切换的。因此在微控制单元MCU进入休眠状态,高频时钟关闭的情况下,温湿度控制模块及TIMER仍可切换成低速时钟运行,进一步降低了功耗,并保证了温湿度计功能的正常运行。According to the operation flow chart of the thermo-hygrometer in FIG. 4 , it is clear that in the overall architecture of the present invention, when the measurement function of the thermo-hygrometer is running, the microcontroller MCU actually only sends instructions and collects data at the beginning and the end. Processing related work; in practical applications, this part of the work only takes up a very small part of the time. Therefore, the power consumption can be greatly reduced by the sleep design of the microcontroller unit MCU. In the design of the clock, the temperature and humidity control module and the clock source of the TIMER are designed to be switchable. Therefore, when the MCU enters the sleep state and the high-frequency clock is turned off, the temperature and humidity control module and TIMER can still be switched to the low-speed clock operation, which further reduces the power consumption and ensures the normal operation of the temperature and humidity meter function.
请参阅图5所示,通过软件的方式实现温湿度计功能,由于在微控制单元MCU收到第一计数器TIMER0发出的中断到真正去读取第二计数器TIMER1的计数值之间,微控制单元MCU需要先对到来的中断进行压栈等一些操作。在这段时间内,TIMER的计数仍然在不断累加,因此微控制单元MCU读取的测量值与真实值存在一定的误差。Referring to Figure 5, the temperature and humidity meter function is implemented by software. Since the microcontroller MCU receives the interrupt sent by the first counter TIMER0 and actually reads the count value of the second counter TIMER1, the microcontroller unit The MCU needs to perform some operations such as stacking the incoming interrupt first. During this period of time, the count of TIMER is still accumulating, so there is a certain error between the measured value read by the microcontroller unit MCU and the real value.
在本发明的一具体实施方式中,请参阅图6,图6所示为本技术方案通过硬件的方式实现温湿度功能,在第一计数器TIMER0达到测量时长产生中断的同时,第二计数器TIMER1的当前计数值被载入温湿度控制模块内部的寄存器wsd_result。wsd_result将保持测量值直到下一次测量开始时被清空。因此当MCU收到中断信号,并进入中断,读取该寄存器的过程中,该值不会被改变,以此消除了由于硬件延迟造成的测量误差。In a specific embodiment of the present invention, please refer to FIG. 6 . FIG. 6 shows that the technical solution realizes the temperature and humidity function by means of hardware. When the first counter TIMER0 reaches the measurement duration and generates an interruption, the second counter TIMER1 The current count value is loaded into the register wsd_result inside the temperature and humidity control module. wsd_result will hold the measurement value until it is cleared when the next measurement starts. Therefore, when the MCU receives the interrupt signal, enters the interrupt, and reads the register, the value will not be changed, thus eliminating the measurement error caused by the hardware delay.
结合图5和图6可以清楚的看出,本技术方案利用硬件架构的方式,通过温湿度控制模块内部的寄存器wsd_result有效的规避掉一般测量方式中存在的误差值问题,不仅极大的提高了测量精度的准确性,同时,该设置方式不受系统工作频率的影响,可靠性更高。It can be clearly seen from Figure 5 and Figure 6 that this technical solution uses the hardware architecture to effectively avoid the error value problem existing in the general measurement method through the register wsd_result inside the temperature and humidity control module, which not only greatly improves the The accuracy of the measurement accuracy, at the same time, the setting method is not affected by the operating frequency of the system, and the reliability is higher.
本发明的低功耗温湿度计电路结构及其测量控制方法,通过设计硬件模块从而对电路结构整体的架构做了较大的优化,规避了由系统架构引起的测量精度问题,相较于通过软件方式去解决,不受系统工作频率的影响,可靠性更高,并且极大的降低了系统架构的功耗;对于用户端而言,由于不需要对寄存器进行多次配置,降低了重复操作的工作频率,并且软件部分占用程序区的资源更小,因此,对于用户而言在应用上更加便捷,简单,具有较为广泛的应用价值。The circuit structure of the low-power thermo-hygrometer and the measurement control method thereof of the present invention greatly optimizes the overall structure of the circuit structure by designing the hardware module, and avoids the measurement accuracy problem caused by the system structure. It is solved by software, which is not affected by the operating frequency of the system, has higher reliability, and greatly reduces the power consumption of the system architecture; for the user side, since there is no need to configure the registers multiple times, repeated operations are reduced. The working frequency is higher, and the software part occupies less resources in the program area. Therefore, it is more convenient and simple for users to apply, and has a wider application value.
在此说明书中,本发明已参照其特定的实施例作了描述。但是,很显然仍可以在不背离本发明的精神和范围的基础上作出各种修改和变换。因此,说明书和附图应被认为是说明性的而非限制性的。In this specification, the invention has been described with reference to specific embodiments thereof. However, it will be apparent that various modifications and changes can be made without departing from the spirit and scope of the invention. Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense.

Claims (15)

  1. 一种低功耗温湿度计电路结构,其特征在于,其包括:A low power consumption thermo-hygrometer circuit structure, characterized in that it includes:
    微控制单元,所述微控制单元与外部的软件模块相连接,并用于配置寄存器模块;a micro-control unit, which is connected with an external software module and used to configure the register module;
    所述寄存器模块与所述微控制单元相连接,用于通过所述寄存器模块的内部状态机变化情况实现温湿度的测量;The register module is connected with the micro-control unit, and is used to realize the measurement of temperature and humidity through the change of the internal state machine of the register module;
    时钟模块,所述的时钟模块与所述寄存器模块相连接,用于为所述的寄存器模块提供时钟源信号。A clock module, the clock module is connected with the register module, and is used for providing a clock source signal for the register module.
  2. 根据权利要求1所述的低功耗温湿度计电路结构,其特征在于,所述的时钟模块与外部的低频晶振和高频晶振相连接,用于为所述低功耗温湿度计电路结构提供时钟源输入信号。The circuit structure of the low-power temperature and humidity meter according to claim 1, wherein the clock module is connected to an external low-frequency crystal oscillator and a high-frequency crystal oscillator, and is used for the circuit structure of the low-power temperature and humidity meter Provides a clock source input signal.
  3. 根据权利要求2所述的低功耗温湿度计电路结构,其特征在于,所述的时钟源输入信号包括低速时钟信号和高速时钟信号。The circuit structure of the low-power thermo-hygrometer according to claim 2, wherein the clock source input signal includes a low-speed clock signal and a high-speed clock signal.
  4. 根据权利要求3所述的低功耗温湿度计电路结构,其特征在于,所述的时钟模块与所述微控制单元相连接,并为所述微控制单元提供所述高速时钟信号,所述时钟模块为所述寄存器模块提供所述高速时钟信号或者低速时钟信号。The circuit structure of the low-power thermo-hygrometer according to claim 3, wherein the clock module is connected to the micro-control unit, and provides the micro-control unit with the high-speed clock signal, and the The clock module provides the register module with the high-speed clock signal or the low-speed clock signal.
  5. 根据权利要求3所述的低功耗温湿度计电路结构,其特征在于,所述的寄存器模块包括:The circuit structure of the low-power thermo-hygrometer according to claim 3, wherein the register module comprises:
    温湿度控制模块,与所述微控制单元相连接,用于接收所述微控制单元发送的开始测量指令,以及发送测量结果至所述微控制单元;a temperature and humidity control module, connected to the micro-control unit, for receiving a measurement start instruction sent by the micro-control unit, and sending measurement results to the micro-control unit;
    第一计数器,与所述温湿度控制模块以及微控制单元相连接,用于接收并执行所述开始测量指令;a first counter, connected with the temperature and humidity control module and the micro-control unit, for receiving and executing the start measurement instruction;
    第二计数器,与所述温湿度控制模块以及微控制单元相连接,用于接收并执行所述开始测量指令。The second counter is connected with the temperature and humidity control module and the micro-control unit, and is used for receiving and executing the start measurement instruction.
  6. 根据权利要求5所述的低功耗温湿度计电路结构,其特征在于,The circuit structure of the low power consumption thermo-hygrometer according to claim 5, wherein,
    所述的时钟模块与所述温湿度控制模块相连接,用于为所述温湿度控制模块提供高速时钟信号或者低速时钟信号作为所述低功耗温湿度计电路结构的时钟源输入信号;The clock module is connected to the temperature and humidity control module, and is used to provide the temperature and humidity control module with a high-speed clock signal or a low-speed clock signal as a clock source input signal of the low-power temperature and humidity meter circuit structure;
    所述的时钟模块与所述第一计数器相连接,用于为所述第一计数器提供高速时钟信号 或者低速时钟信号作为所述低功耗温湿度计电路结构的时钟源输入信号;The clock module is connected with the first counter, and is used to provide the first counter with a high-speed clock signal or a low-speed clock signal as the clock source input signal of the low-power thermo-hygrometer circuit structure;
    所述的时钟模块与所述第二计数器通过选择器相连接,用于为所述第二计数器提供高速时钟信号或者低速时钟信号作为所述低功耗温湿度计电路结构的时钟源输入信号;或者所述的第二计数器与外部的振荡电路通过选择器相连接,用于将所述振荡电路产生的方波信号作为所述低功耗温湿度计电路结构的时钟源输入信号。The clock module is connected to the second counter through a selector, and is used to provide the second counter with a high-speed clock signal or a low-speed clock signal as a clock source input signal of the low-power thermohygrometer circuit structure; Alternatively, the second counter is connected to an external oscillator circuit through a selector, and is used to use the square wave signal generated by the oscillator circuit as the clock source input signal of the low power consumption thermo-hygrometer circuit structure.
  7. 一种基于权利要求1所述的低功耗温湿度计电路结构进行温湿度计测量控制的方法,其特征在于,其包括以下步骤:A method for measuring and controlling a thermo-hygrometer based on the circuit structure of the low-power thermo-hygrometer according to claim 1, characterized in that it comprises the following steps:
    (1)用户通过所述软件模块设置测量时长作为所述低功耗温湿度计电路结构的开始测量指令;(1) The user sets the measurement duration through the software module as the start measurement instruction of the low-power thermo-hygrometer circuit structure;
    (2)所述寄存器模块接收并执行所述开始测量指令,并通过所述寄存器模块的内部状态机变化情况实现温湿度测量功能;(2) the register module receives and executes the start measurement instruction, and realizes the temperature and humidity measurement function through the change of the internal state machine of the register module;
    (3)所述低功耗温湿度计电路结构进行测量工作,并通过所述微控制单元将测量结果反馈至用户处,以等待下一次测量指令。(3) The circuit structure of the low-power thermo-hygrometer performs measurement work, and feeds back the measurement results to the user through the micro-control unit, so as to wait for the next measurement instruction.
  8. 根据权利要求7所述的温湿度计测量控制的方法,其特征在于,所述的寄存器模块包括温湿度控制模块、第一计数器以及第二计数器,其中,所述温湿度控制模块分别与所述第一计数器以及第二计数器相连接。The method for measuring and controlling a temperature and humidity meter according to claim 7, wherein the register module comprises a temperature and humidity control module, a first counter and a second counter, wherein the temperature and humidity control module is respectively associated with the The first counter and the second counter are connected.
  9. 根据权利要求8所述的温湿度计测量控制的方法,其特征在于,所述的步骤(1)为:用户设置测量时长T并发送开始测量指令至所述微控制单元进行测试工作。The method for measuring and controlling a thermo-hygrometer according to claim 8, wherein the step (1) is as follows: the user sets the measurement duration T and sends a measurement start instruction to the micro-control unit for testing.
  10. 根据权利要求9所述的温湿度计测量控制的方法,其特征在于,所述的步骤(2)包括以下步骤:The method for measuring and controlling a thermohygrometer according to claim 9, wherein the step (2) comprises the following steps:
    (2.1)所述微控制单元根据所述开始测量指令配置所述寄存器模块,完成后所述微控制单元进入休眠状态;(2.1) The micro-control unit configures the register module according to the start measurement instruction, and the micro-control unit enters a sleep state after completion;
    (2.2)所述温湿度控制模块进入第一次初始化状态。(2.2) The temperature and humidity control module enters the first initialization state.
  11. 根据权利要求10所述的温湿度计测量控制的方法,其特征在于,所述的步骤(3)包括以下步骤:The method for measuring and controlling a thermohygrometer according to claim 10, wherein the step (3) comprises the following steps:
    (3.1)所述的温湿度控制模块进行参考电阻下的振荡电路测量工作;(3.1) The described temperature and humidity control module performs the measurement work of the oscillation circuit under the reference resistance;
    (3.2)测量完成时所述温湿度控制模块获取第一次测量结果;(3.2) when the measurement is completed, the temperature and humidity control module obtains the first measurement result;
    (3.3)所述温湿度控制模块进入第二次初始化状态,并进行传感器电阻下的振荡电路测量工作;(3.3) The temperature and humidity control module enters the second initialization state, and performs the measurement of the oscillation circuit under the sensor resistance;
    (3.4)测量完成时所述温湿度控制模块获取第二次测量结果;(3.4) when the measurement is completed, the temperature and humidity control module obtains the second measurement result;
    (3.5)所述的温湿度控制模块唤醒所述的微控制单元,且所述的微控制单元读取所述的第一次测量结果以及第二次测量结果进行数据处理;(3.5) The temperature and humidity control module wakes up the micro-control unit, and the micro-control unit reads the first measurement result and the second measurement result for data processing;
    (3.6)所述的微控制单元进入休眠状态,并等待下一次测量指令的到来。(3.6) The micro-control unit enters a dormant state and waits for the next measurement instruction to arrive.
  12. 根据权利要求11所述的温湿度计测量控制的方法,其特征在于,所述的步骤(3.1)包括以下步骤:The method for measuring and controlling a thermohygrometer according to claim 11, wherein the step (3.1) comprises the following steps:
    (3.1.1)所述温湿度控制模块发送所述开始测量指令至所述第一计数器并进入休眠状态;(3.1.1) The temperature and humidity control module sends the measurement start instruction to the first counter and enters a dormant state;
    (3.1.2)所述第一计数器接收并执行所述开始测量指令,并装载所述测量时长T,所述温湿度控制模块进入参考电阻振荡电路测量状态。(3.1.2) The first counter receives and executes the start measurement instruction, and loads the measurement duration T, and the temperature and humidity control module enters the reference resistance oscillation circuit measurement state.
  13. 根据权利要求12所述的温湿度计测量控制的方法,其特征在于,所述的步骤(3.2)包括以下步骤:The method for measuring and controlling a thermohygrometer according to claim 12, wherein the step (3.2) comprises the following steps:
    (3.2.1)当所述第一计数器的计数值达到所述测量时长T时,所述温湿度控制模块进入参考电阻振荡电路完成状态;(3.2.1) When the count value of the first counter reaches the measurement duration T, the temperature and humidity control module enters the reference resistance oscillation circuit completion state;
    (3.2.2)所述的温湿度控制模块获取并存储所述第二计数器的计数值,以获取第一次测量结果,并跳转进入传感器电阻振荡电路初始化状态。(3.2.2) The temperature and humidity control module acquires and stores the count value of the second counter to acquire the first measurement result, and jumps into the initialization state of the sensor resistance oscillation circuit.
  14. 根据权利要求12所述的温湿度计测量控制的方法,其特征在于,所述的步骤(3.3)为:The method for measuring and controlling a thermohygrometer according to claim 12, wherein the step (3.3) is:
    所述的第一计数器初始化并重新装载所述的测量时长T,并跳转进入传感器电阻振荡电路测量状态。The first counter is initialized and reloaded with the measurement duration T, and jumps into the measurement state of the sensor resistance oscillating circuit.
  15. 根据权利要求14所述的温湿度计低功耗功能的方法,其特征在于,所述的步骤(3.4)包括以下步骤:The method for a low power consumption function of a thermo-hygrometer according to claim 14, wherein the step (3.4) comprises the following steps:
    (3.4.1)当所述的第一计数器的计算值达到所述测量时长T时,所述的温湿度控制模块跳转进入传感器电阻振荡电路完成状态;(3.4.1) When the calculated value of the first counter reaches the measurement duration T, the temperature and humidity control module jumps into the sensor resistance oscillation circuit completion state;
    (3.4.2)所述的温湿度控制模块获取并存储所述第二计数器的计数值,以获取第二次测量结果。(3.4.2) The temperature and humidity control module obtains and stores the count value of the second counter to obtain the second measurement result.
PCT/CN2021/138241 2021-04-26 2021-12-15 Low-power-consumption hygrothermograph circuit structure and measurement control method therefor WO2022227605A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110463965.4 2021-04-26
CN202110463965.4A CN115248608B (en) 2021-04-26 2021-04-26 Low-power consumption hygrothermograph circuit structure and measurement control method thereof

Publications (1)

Publication Number Publication Date
WO2022227605A1 true WO2022227605A1 (en) 2022-11-03

Family

ID=83697230

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/138241 WO2022227605A1 (en) 2021-04-26 2021-12-15 Low-power-consumption hygrothermograph circuit structure and measurement control method therefor

Country Status (2)

Country Link
CN (1) CN115248608B (en)
WO (1) WO2022227605A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1327147A (en) * 2001-07-16 2001-12-19 复旦大学 Temperature and humidity measuring and controlling method and circuit
US20030156622A1 (en) * 2002-02-19 2003-08-21 Sun Microsystems, Inc. Integrated temperature sensor
TWI227320B (en) * 2003-12-22 2005-02-01 Sunplus Technology Co Ltd Radio frequency temperature sensor and temperature calibrating method therefor
CN103024881A (en) * 2012-11-30 2013-04-03 中国舰船研究设计中心 Node for wireless sensor network
CN107830946A (en) * 2016-09-15 2018-03-23 瑞萨电子株式会社 Temperature measuring circuit, integrated circuit and thermometry
CN108572034A (en) * 2018-04-24 2018-09-25 电子科技大学 A kind of temperature sensor circuit of embedded clock
CN108829007A (en) * 2018-07-06 2018-11-16 西安原子方舟智能科技有限责任公司 A kind of ambient temperature and humidity and CH2O multi-parameter monitors terminal on-line

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4652877A (en) * 1983-07-01 1987-03-24 Rockwell International Corporation Meter data gathering and transmission system
CA2352557A1 (en) * 2001-07-02 2003-01-02 Ian C. Campbell System and method for indoor environmental monitoring and control
JP4222254B2 (en) * 2004-05-19 2009-02-12 沖電気工業株式会社 Microcomputer
IL166292A (en) * 2005-01-13 2009-11-18 Nexense Ltd Method and apparatus for high-precision measurement of frequency
CN101303662B (en) * 2008-06-18 2012-03-07 中兴通讯股份有限公司 Method and apparatus for capturing fan rotary speed
CN101782791B (en) * 2010-01-29 2011-08-10 杭州电子科技大学 Clock/reset and configuration controller hardcore in communication processor chip
JP5516873B2 (en) * 2010-04-21 2014-06-11 日本電気株式会社 Terminal device provided with high temperature detection counter circuit
CN102809589A (en) * 2012-07-25 2012-12-05 华东师范大学 Air humidity measurement method with low power consumption
CN104834581B (en) * 2015-05-11 2018-07-06 江苏宏云技术有限公司 A kind of failure of oscillation observation circuit of crystal oscillator
CN104793723A (en) * 2015-05-13 2015-07-22 中国电子科技集团公司第四十七研究所 Low-power-consumption control circuit based on level detection
CN105978555A (en) * 2016-07-01 2016-09-28 无锡华润矽科微电子有限公司 Real-time clock timing precision correction circuit and method with temperature compensation function
CN106682724A (en) * 2016-10-10 2017-05-17 上海智引信息科技有限公司 Counter for monitoring reciprocating tool, counting method and mould
CN111327333B (en) * 2020-03-02 2023-07-18 华润微集成电路(无锡)有限公司 Decoding circuit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1327147A (en) * 2001-07-16 2001-12-19 复旦大学 Temperature and humidity measuring and controlling method and circuit
US20030156622A1 (en) * 2002-02-19 2003-08-21 Sun Microsystems, Inc. Integrated temperature sensor
TWI227320B (en) * 2003-12-22 2005-02-01 Sunplus Technology Co Ltd Radio frequency temperature sensor and temperature calibrating method therefor
CN103024881A (en) * 2012-11-30 2013-04-03 中国舰船研究设计中心 Node for wireless sensor network
CN107830946A (en) * 2016-09-15 2018-03-23 瑞萨电子株式会社 Temperature measuring circuit, integrated circuit and thermometry
CN108572034A (en) * 2018-04-24 2018-09-25 电子科技大学 A kind of temperature sensor circuit of embedded clock
CN108829007A (en) * 2018-07-06 2018-11-16 西安原子方舟智能科技有限责任公司 A kind of ambient temperature and humidity and CH2O multi-parameter monitors terminal on-line

Also Published As

Publication number Publication date
CN115248608B (en) 2023-05-09
CN115248608A (en) 2022-10-28

Similar Documents

Publication Publication Date Title
CN102176112B (en) Method for achieving accurate clock timing by arranging RTC (real time clock) in MCU (micro control unit)
CN202362380U (en) Multifunctional high-precision digital frequency meter
CN107014419B (en) Quartz vibrating beam resonant sensor test system based on FPGA + SOPC
CN200993665Y (en) Small digitalized prase-comparing measuring device
CN110836992B (en) Oscillography power meter acquisition system based on FPGA
CN106932640A (en) Pulse signal measurement method of parameters and system based on FPGA
Engel et al. Feasibility analysis of reconfigurable computing in low-power wireless sensor applications
WO2022227605A1 (en) Low-power-consumption hygrothermograph circuit structure and measurement control method therefor
CN205333219U (en) Multichannel temperature measuring circuit based on quartz crystal temperature sensor
US9032129B2 (en) Advanced energy profiler
CN205384320U (en) Photoelectric detection means
CN103201687B (en) Low energy sensor interface
CN109716519A (en) Microcontroller energy analyzer
CN203658294U (en) Portable grain and meat moisture detector
CN201387481Y (en) Error detecting device for digital watt-hour meter
CN201397233Y (en) Three-line pendulum oscillatory cycle measuring instrument
CN201689133U (en) Electric energy quality monitoring device
CN216956174U (en) Device for realizing equal-precision frequency measurement by single chip
Zhang et al. Low power consumption wireless temperature and humidity monitoring node based on MCF51QE128
CN112557747B (en) Wide-frequency high-precision digital power meter and rapid optimization sampling method
Bing et al. Design and Research of SOPC Embedded Digital Frequency Meter Based on FPGA
Kong et al. Design of PPS Self-Calibration High-Precision Frequency Meter Based on STM32 Single Chip Microcomputer
CN215339489U (en) Cavity ring-down signal acquisition system based on FPGA
CN202710701U (en) Cable fault detection and location system based on waveform reproduction
CN104569582B (en) A kind of method and FPGA circuitry for being used to realize that frequency measures

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21939064

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21939064

Country of ref document: EP

Kind code of ref document: A1