CN105125212A - Generation method of frequency and shape waveforms used for human impedance measuring - Google Patents
Generation method of frequency and shape waveforms used for human impedance measuring Download PDFInfo
- Publication number
- CN105125212A CN105125212A CN201510355531.7A CN201510355531A CN105125212A CN 105125212 A CN105125212 A CN 105125212A CN 201510355531 A CN201510355531 A CN 201510355531A CN 105125212 A CN105125212 A CN 105125212A
- Authority
- CN
- China
- Prior art keywords
- clock
- frequency division
- frequency
- coefficient
- waveform
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000002847 impedance measurement Methods 0.000 claims description 5
- 238000012360 testing method Methods 0.000 abstract description 3
- 238000005259 measurement Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 3
- 230000005284 excitation Effects 0.000 description 3
- 230000036541 health Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 238000000691 measurement method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Landscapes
- Measurement Of Resistance Or Impedance (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
- Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)
Abstract
The invention discloses a generation method of frequency and shape waveforms used for human impedance measuring in the field of bioelectronics measuring. The generation method includes: writing clock frequency division coefficient, frequency division clock cycle period coefficient K and waveform data into a nonvolatile memory through a burning interface; reading out the clock frequency division coefficient and the frequency division clock cycle period coefficient from the nonvolatile memory; using a frequency division clock to read the waveform data from the nonvolatile memory, and outputting the data according to certain rules. By controlling the clock frequency division coefficient and frequency division clock cycle period, frequency and shape of generated waveforms can be adjusted to acquire better testing results of human impedance.
Description
Technical Field
The invention belongs to the technical field of bioelectronic measurement, and particularly relates to a method for measuring human body impedance.
Background
Since the research on the connection between the biological impedance and the human health, research and measurement methods and devices related to the connection have been greatly developed. Particularly, with the attention of people to their health, various instruments related to the measurement of the bio-impedance have come into play. For example, a BC-300 body composition analyzer in the United states, a TBF series civil weight-body fat measuring instrument by the company TANITA, Japan, and the like. All these measurements, which involve bio-impedance, are based on alternating sine waves as the excitation source to the anthropometric circuit. Admittedly, this method is effective. However, the circuit of the whole system is quite complex and difficult to simplify.
The principle of human body impedance measurement is that a human body is equivalent to a resistance-capacitance network, then a path of current flows through the network to generate a voltage drop proportional to the network impedance, and the voltage drop is measured by an ADC (analog to digital converter), so that the equivalent impedance of the resistance-capacitance network can be converted; then, the equivalent impedance of the human body is converted into the composition of the human body by inquiring a table. This table is typically related to the age, sex, height and weight of the person, and race.
The human body impedance measuring device disclosed in patent application 03207114.0, which comprises a microcontroller, a sequentially connected measuring circuit, an electronic switch gate, an alternating current amplifier, a detector and an A/D converter, wherein the output end of the A/D converter is connected with the input end of the microcontroller; the microcontroller is respectively connected with the input ends of the electronic switch gate and the display, wherein the microcontroller can output 1 kHz-100 kHz square waves, the square wave output end of the microcontroller is connected with the excitation power supply input end of the measurement loop, and the square waves are used as excitation power supplies and are introduced into the measurement loop; the reference resistance voltage signal and the human body voltage signal output by the measuring loop are sequentially transmitted to the microcontroller for processing through the electronic switch gate, the alternating current amplifier, the detector and the A/D converter, and thus the human body impedance value is obtained. However, the above-mentioned method is only to measure the impedance of the human body under a specific frequency and waveform (an equiform square wave), and actually, the waveform and frequency need to be adjusted during the measurement process, and the above-mentioned structure is difficult to be realized.
Disclosure of Invention
In order to solve the above problems, an object of the present invention is to provide a method for generating a waveform with frequency and shape for measuring impedance of a human body, which can adjust the frequency and shape of the generated waveform to achieve a better result of measuring impedance of the human body.
Another object of the present invention is to provide a method for generating frequency and shape waveforms for human body impedance measurement, which is easy to implement and can greatly reduce the cost.
In order to achieve the above object, the technical solution of the present invention is as follows.
A method for generating frequency and shape waveforms for body impedance measurement, comprising the steps of:
101. firstly, writing a clock frequency division coefficient, a frequency division clock cycle period coefficient K and waveform data into a nonvolatile memory (such as OTP, MTP, Flash and the like) through a burning interface;
the clock division coefficient includes a high level division coefficient M and a low level division coefficient N, which can be written separately.
102. Then, reading out the clock frequency division coefficient and the frequency division clock cycle period coefficient from the nonvolatile memory; wherein,
clock source/(M + N) with frequency division clock period
Divided clock cycle period-divided clock period/K
The cycle period of the frequency division clock is the waveform frequency;
103. the waveform data is read from the nonvolatile memory by using the frequency division clock, and then the data is output according to a certain rule (the data is output in sequence according to the characteristics of the waveform).
The waveform data are stored in a nonvolatile memory according to waveform characteristics, the storage number is K, and the stored waveform data are waveform data in one period.
The method can reduce the frequency division coefficient, improve the frequency division clock cycle coefficient, and write the waveform data with the corresponding number into the nonvolatile memory to generate better waveforms.
If the high level division factor can be set to 5 and the low level division factor to 5 and the divided clock cycle period factor to 20, a sine wave is generated.
The high level frequency division coefficient is set to 10, the low level coefficient is set to 10, the cycle period coefficient of the frequency division clock is set to 20, and the output waveform is a square wave with the duty ratio of 60% and the frequency of 5 kHz.
The invention can adjust the frequency and the shape of the generated waveform by controlling the clock frequency division coefficient and the cycle period of the frequency division clock, thereby achieving a better test result of the human body impedance.
The method is easy to realize and can greatly reduce the cost.
Drawings
FIG. 1 is a control flow diagram implemented by the present invention.
FIG. 2 is a diagram of a first waveform implemented by the present invention.
FIG. 3 is a diagram of a second waveform implemented by the present invention.
FIG. 4 is a third exemplary waveform of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, a method for generating frequency and shape waveforms for measuring human body impedance according to the present invention is characterized in that the method comprises the following steps:
101. firstly, writing a clock frequency division coefficient, a frequency division clock cycle period coefficient K and waveform data into a nonvolatile memory (such as OTP, MTP, Flash and the like) through a burning interface;
the clock division coefficient includes a high level division coefficient M and a low level division coefficient N, which can be written separately.
102. Then, reading out the clock frequency division coefficient and the frequency division clock cycle period coefficient from the nonvolatile memory; wherein,
clock source/(M + N) with frequency division clock period
Divided clock cycle period-divided clock period/K
The cycle period of the frequency division clock is the waveform frequency;
103. the waveform data is read from the non-volatile memory by using the frequency division clock, and then the data is output according to a certain rule (according to the characteristics of the waveform, the data is sequentially output, such as the data in table 1 and table 2).
The waveform data are stored in a nonvolatile memory according to waveform characteristics, the storage number is K, and the stored waveform data are waveform data in one period.
Suppose a 10KHz sine wave is to be generated, 8 waveform data are output in each cycle, and the clock source is 2 MHz. It can be understood from the above assumptions that the high-level division coefficient can be set to 12 and the low-level division coefficient 13 or the high-level division coefficient can be set to 13 and the low-level division coefficient 12, the division clock cycle coefficient is set to 8, the waveform data is shown in table 1, and the finally generated waveform is shown in fig. 2.
TABLE 1
It can be observed from the waveforms in fig. 2 that the generated waveforms have a large difference from the standard sine waves, and are only suitable for applications with low requirements, and in applications with higher requirements, better waveforms can be generated by only reducing the frequency division coefficient, increasing the frequency division clock cycle coefficient, and writing the corresponding number of waveform data into the nonvolatile memory. The high level division factor may be set to 5 and the low level division factor to 5, the divided clock cycle period factor to 20, the waveform data as shown in table 2, and the resulting waveform as shown in fig. 3.
TABLE 2
Serial number | Number of wave forms | Serial number | Number of wave forms | Serial number | Number of wave forms | Serial number | Number of wave forms |
According to | According to | According to | According to | ||||
1 | 0 | 6 | 256 | 11 | 0 | 16 | -256 |
2 | 79 | 7 | 243 | 12 | -79 | 17 | -243 |
3 | 150 | 8 | 207 | 13 | -150 | 18 | -207 |
4 | 207 | 9 | 150 | 14 | -207 | 19 | -150 |
5 | 243 | 10 | 79 | 15 | -243 | 20 | -79 |
If the waveform data above is changed to the data in the following table, the high level division coefficient is set to 10 and the low level division coefficient is set to 10, the division clock cycle period coefficient is set to 20, the output waveform is a square wave with a duty ratio of 60% and a frequency of 5kHz, the waveform data is shown in table 3, and the waveform is shown in fig. 4.
TABLE 3
It can be seen that in different application systems, the required waveform frequency and shape may be different, and the generation of the waveform with any frequency and shape can be realized by changing the clock division coefficient (high level division coefficient and low level division coefficient), the division clock cycle period coefficient and the waveform data before operation.
The invention can adjust the frequency and the shape of the generated waveform by controlling the clock frequency division coefficient and the cycle period of the frequency division clock, thereby achieving a better test result of the human body impedance.
The method is easy to realize and can greatly reduce the cost.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
Claims (4)
1. A method for generating frequency and shape waveforms for body impedance measurement, comprising the steps of:
101. firstly, writing a clock frequency division coefficient, a frequency division clock cycle period coefficient K and waveform data into a nonvolatile memory through a burning interface;
102. then, reading out the clock frequency division coefficient and the frequency division clock cycle period coefficient from the nonvolatile memory; wherein,
clock source/(M + N) with frequency division clock period
Divided clock cycle period-divided clock period/K
The cycle period of the frequency division clock is the waveform frequency;
103. the waveform data is read from the nonvolatile memory by the frequency division clock, and then the data is output according to a certain rule.
2. The method of claim 1, wherein said clock division factor comprises a high level division factor M and a low level division factor N, said high level division factor M and said low level division factor N being separately writable.
3. The method for generating frequency and shape waveforms for body impedance measurement according to claim 1, wherein the waveform data is stored in a non-volatile memory according to waveform characteristics, the number of the stored waveform data is K, and the stored waveform data is waveform data in one cycle.
4. The method of claim 1, wherein the method comprises reducing the frequency division factor, increasing the frequency division clock cycle factor, and writing a corresponding number of waveform data into the non-volatile memory to generate a better waveform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510355531.7A CN105125212A (en) | 2015-06-25 | 2015-06-25 | Generation method of frequency and shape waveforms used for human impedance measuring |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510355531.7A CN105125212A (en) | 2015-06-25 | 2015-06-25 | Generation method of frequency and shape waveforms used for human impedance measuring |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105125212A true CN105125212A (en) | 2015-12-09 |
Family
ID=54711063
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510355531.7A Pending CN105125212A (en) | 2015-06-25 | 2015-06-25 | Generation method of frequency and shape waveforms used for human impedance measuring |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105125212A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112842312A (en) * | 2021-02-01 | 2021-05-28 | 上海交通大学 | Heart rate sensor and self-adaptive heartbeat lock ring system and method thereof |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5351222A (en) * | 1991-10-08 | 1994-09-27 | Fujitsu Limited | Disk storage apparatus including a single power supply hysteresis comparator having a symmetrical characteristic |
CN101166630A (en) * | 2005-04-26 | 2008-04-23 | 株式会社理光 | Pixel clock generator, pulse modulator, and image forming apparatus |
CN101854160A (en) * | 2010-04-27 | 2010-10-06 | 上海易湃科电磁技术有限公司 | Pulse group drive signal generator |
CN102357034A (en) * | 2011-09-23 | 2012-02-22 | 中国人民解放军第四军医大学 | Low-power consumption current excitation source for electrical impedance imaging |
CN102801443A (en) * | 2003-02-25 | 2012-11-28 | 横滨Tlo株式会社 | Pulse waveform producing method |
CN202998024U (en) * | 2012-12-25 | 2013-06-12 | 重庆医科大学 | Portable high-precision multi-purpose medical sinusoidal signal generator |
CN103604964A (en) * | 2013-11-15 | 2014-02-26 | 中国电子科技集团公司第四十一研究所 | Method for improving digital channel waveform capture rate of mixed oscilloscope |
-
2015
- 2015-06-25 CN CN201510355531.7A patent/CN105125212A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5351222A (en) * | 1991-10-08 | 1994-09-27 | Fujitsu Limited | Disk storage apparatus including a single power supply hysteresis comparator having a symmetrical characteristic |
CN102801443A (en) * | 2003-02-25 | 2012-11-28 | 横滨Tlo株式会社 | Pulse waveform producing method |
CN101166630A (en) * | 2005-04-26 | 2008-04-23 | 株式会社理光 | Pixel clock generator, pulse modulator, and image forming apparatus |
CN101854160A (en) * | 2010-04-27 | 2010-10-06 | 上海易湃科电磁技术有限公司 | Pulse group drive signal generator |
CN102357034A (en) * | 2011-09-23 | 2012-02-22 | 中国人民解放军第四军医大学 | Low-power consumption current excitation source for electrical impedance imaging |
CN202998024U (en) * | 2012-12-25 | 2013-06-12 | 重庆医科大学 | Portable high-precision multi-purpose medical sinusoidal signal generator |
CN103604964A (en) * | 2013-11-15 | 2014-02-26 | 中国电子科技集团公司第四十一研究所 | Method for improving digital channel waveform capture rate of mixed oscilloscope |
Non-Patent Citations (1)
Title |
---|
杨晓慧等: "《FPGA系统设计与实例》", 31 January 2010, 人民邮电出版社 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112842312A (en) * | 2021-02-01 | 2021-05-28 | 上海交通大学 | Heart rate sensor and self-adaptive heartbeat lock ring system and method thereof |
CN112842312B (en) * | 2021-02-01 | 2022-03-08 | 上海交通大学 | Heart rate sensor and self-adaptive heartbeat lock ring system and method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105784176B (en) | A kind of temperature measurement system and measuring method based on platinum resistance | |
Czaja | A microcontroller system for measurement of three independent components in impedance sensors using a single square pulse | |
CN103529256A (en) | Waveform synthesis device | |
CN105125212A (en) | Generation method of frequency and shape waveforms used for human impedance measuring | |
US10521045B2 (en) | Reference noise rejection improvement based on sample and hold circuitry | |
CN107436379B (en) | System for testing analog signals | |
CN106533142B (en) | Anti-backflow circuit | |
Janković et al. | Microcontroller power consumption measurement based on PSoC | |
Pandya et al. | Synthetic Plasma Liquid Based Electronic Circuits Realization-A Novel Concept | |
Scheuch et al. | Electrical characterization and simulation of SiPMs | |
Zahrai et al. | On-chip digital calibration for automatic input impedance boosting during biopotential measurements | |
CN112229457B (en) | Novel electromagnetic flowmeter and measuring method thereof | |
CN104883180B (en) | The latch of low-power offset storage | |
JP7133858B2 (en) | SOIL SENSOR AND SOIL MEASUREMENT METHOD | |
CN203502449U (en) | Waveform synthesizer | |
CN206074674U (en) | A kind of voltage sample circuit | |
Jaiswal et al. | Virtual flux and frequency meter | |
Grygoriy et al. | Parametric analysis of impedance spectroscopy measuring transducers considering the non-harmonic signals | |
Selvam | Four-quadrant time-division multiplier without using any reference clock | |
Miron-Alexe et al. | MATHEMATICAL CALCULUS FOR ANALOG SIGNAL PROCESSING ALGORITHM OF SENSORS USED IN HOUSEHOLD POWER MONITORING SYSTEM | |
US20220357377A1 (en) | Power supply voltage detector, power supply voltage detection apparatus, system and medium | |
TW201224487A (en) | Electronic apparatus | |
Miyata et al. | Magnetic circuit method based on Chua type model based on harmonic balance method | |
Gui et al. | Research on the key technology of high-precision waveform synchronization identification and measurement | |
Zhang et al. | Near‐binary multisine design with arbitrary sparse spectrum for fast BIS measurement |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151209 |
|
RJ01 | Rejection of invention patent application after publication |