A dynamic human body weight detection device and detection method
Through the dynamic human body weight detection device, using Wheatstone bridge circuit and strain gauge sensor combined with PID and creep algorithm, it solves the problem of lack of personalization and real-timeness in weight monitoring in the existing technology, and realizes fast and convenient monitoring for patients with chronic diseases. , Accurate weight monitoring, providing high-precision weight data.
Patent Information
- Application Number
- CN202410865429.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-01
AI Technical Summary
Existing weight monitoring methods lack personalization and real-time performance for patients with chronic diseases, and cannot effectively combine multiple factors to analyze weight changes, making it difficult for monitoring personnel to obtain fast, convenient, and accurate human body weight monitoring data.
It adopts a dynamic human body weight detection device including a weighing module and a control module, uses a Wheatstone bridge circuit and a strain gauge sensor to detect weight in real time, and uses a PID control algorithm and a creep algorithm for error compensation and filtering to provide accurate weight data.
It realizes fast, convenient and accurate weight monitoring of patients with chronic diseases, with an accuracy of 10-50g, meeting the real-time needs of monitoring personnel.
Smart Images

Figure CN118408626B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of medical monitoring, in particular to a dynamic human body weight detection device, and also discloses a detection method for the dynamic human body weight detection device. Background Art
[0002] Weight is an important physiological indicator. A person's weight is affected by many factors. Different people have different weights, and the weight of the same person may change at different times. This is especially true for people with chronic kidney disease, diabetes, and other groups that need to strictly control their weight. By monitoring the weight of such people and accurately understanding their health status through changes in weight, we can accurately understand their health status.
[0003] Most of the existing weight monitoring methods are general, and there is no personalized weight management for the special physical conditions and health needs of patients with chronic diseases. The weight management of patients with chronic diseases needs to take into account factors such as the type, severity, and medication of the disease in order to develop a more scientific and reasonable management plan; the existing weight monitoring methods mainly record the weight measurement values of each time in a specific time period, and do not analyze the dynamic changes of weight in combination with multiple factors, and cannot provide guardians with a fast, convenient, and accurate human weight monitoring method; lack of pertinence and real-time: Most of the existing smart weight detection solutions are based on existing health data for analysis and suggestions, lacking pertinence and real-time. These applications cannot directly perceive the user's physical condition, health status, and environmental changes, and require users to enter relevant data or connect to other smart devices for data collection.
[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0005] The purpose of the present invention is to provide a dynamic human body weight detection device and detection method for obtaining weight data through real-time detection by a sensor and algorithm analysis in view of the defects and shortcomings of the prior art.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions:
[0007] A dynamic human body weight detection device described in the present invention includes a weighing module and a control module. The weighing module includes a weighing bracket and a plurality of sensors. The weighing bracket is provided with at least three fixed plates, each fixed plate is paired with a supporting bottom plate, and a sensor is connected between the fixed plate and the supporting bottom plate. Several of the sensors are connected to the control module through lines.
[0008] According to the above solution, four strain gauges are arranged in the sensor, and the four strain gauges form a Wheatstone bridge circuit.
[0009] According to the above solution, the control module is integrated with an amplifier chip and an ADC digital-to-analog converter, and the sensor signal is processed by the amplifier and the ADC digital-to-analog converter and then sent to the control module.
[0010] According to the above solution, the present invention further includes a touch screen and a power supply, and the control module is connected to the touch screen and the power supply via a line.
[0011] According to the above scheme, the weighing bracket is provided with four fixing plates, which are respectively arranged at the four corners of the weighing bracket; one end of the sensor is fixedly connected to the supporting bottom plate, and the other end of the sensor is fixedly connected to the fixing plate.
[0012] A detection method for a dynamic human body weight detection device, wherein the sensor sends data to a control module, and the control module performs the following steps:
[0013] Step A. Initial calibration;
[0014] Step B. AD adoption and conversion of human body weight value;
[0015] Step C. PID control algorithm stabilizes the weight value;
[0016] Step D: Execute the creep algorithm three times to perform temperature cumulative error compensation;
[0017] Step EN filtering, take the average value to get the accurate weight value.
[0018] According to the above scheme, the PID control algorithm formula in step C is as follows:
[0019] u(t)=a+Kp*e(t)+Ki*∫e(t)dt+Kd*e'(t)
[0020] Where: a is the initial number of the detection device, u(t) is the control amount, e(t) is the deviation, e'(t) is the rate of change of the deviation, Kp is the proportional coefficient, Ki is the integral coefficient, and Kd is the differential coefficient.
[0021] According to the above scheme, the creep algorithm in step D includes:
[0022] According to the currently acquired sensor deformation collection AD value Va1 and temperature AD value Vt1, compared with the corresponding values acquired last time, combined with the initial calibration values Xa, Xt, the current sampling value is judged to determine whether to send creep, wherein the creep state includes positive creep state and negative creep state;
[0023] According to the state of the first creep, the positive state Xa, Xt takes positive values, and the negative state takes -Xa, -Xa. The second sensor deformation collects AD value Va2 and temperature AD value Vt2, and again determines whether the absolute value of the difference with the calibration value exceeds the threshold K1, and determines the magnitude of the creep amplitude P;
[0024] According to the calibration amplitude P obtained for the second time, and the third sensor deformation acquisition AD value Va3 and temperature AD value Vt3, it is judged again whether the absolute value of the calibration value exceeds the mean threshold M, and the effect of creep is judged. If the deviation from the actual value is within a reasonable accuracy range, the parameters Xa, Xt, P, and M are determined to be valid parameters, otherwise appropriate adjustments are made.
[0025] The beneficial effects of the present invention are as follows: the present invention has a reasonable structure, adopts a Wheatstone four-bridge sensor, and converts the resistance change generated by the strain gauge during deformation into an electrical signal after collection, filtering, and amplification. After ADC digital-to-analog conversion, the human body weight value is calculated according to the corresponding relationship of the voltage value.
[0026] The present invention facilitates real-time detection of dynamic human body weight and provides guardians with fast, convenient and accurate human body weight monitoring data (with an accuracy of 10-50g). BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a structural schematic diagram of a weighing module of the present invention;
[0028] Figure 2 It is a schematic diagram of the overall structure of the detection device of the present invention;
[0029] Figure 3 It is a schematic flow chart of the detection method of the present invention;
[0030] Figure 4 It is a schematic diagram of the creep algorithm flow of the present invention;
[0031] Figure 5 It is a schematic diagram of the internal wiring of the sensor of the present invention.
[0032] In the figure: 1. control module; 2. touch screen; 3. weighing bracket; 4. sensor; 5. power supply; 11. fixing plate; 12. supporting base plate. DETAILED DESCRIPTION
[0033] The technical solution of the present invention is described below in conjunction with the accompanying drawings and embodiments.
[0034] like Figure 1-2As shown, a dynamic human body weight detection device described in the present invention includes a weighing module and a control module 1, the weighing module includes a weighing bracket 3 and a plurality of sensors 4, the weighing bracket 3 is provided with at least three fixed plates 11, each fixed plate 11 is paired with a supporting base plate 12, a sensor 4 is connected between the fixed plate 11 and the supporting base plate 12, and a plurality of the sensors 4 are connected to the control module 1 through lines.
[0035] The sensor 4 is provided with four strain gauges, which form a Wheatstone bridge circuit. The control module 1 is integrated with an amplifier chip and an ADC digital-to-analog converter, and the signal of the sensor 4 is sent to the control module 1 after being processed by the amplifier and the ADC digital-to-analog converter.
[0036] The present invention also includes a touch screen 2 and a power supply, and the control module 1 is connected to the touch screen 2 and the power supply 5 through a line. Preferably, the weighing bracket 3 is provided with four fixing plates 11, and the four fixing plates 11 are respectively arranged at the four corners of the weighing bracket 3; the four fixing plates 11 are paired in pairs and symmetrically arranged on the weighing bracket 3, so that the weighing bracket 3 can ensure its own stability, thereby ensuring the accuracy of the detection data of the sensor 4. One end of the sensor 4 is fixedly connected to the support bottom plate 12, and the other end of the sensor 4 is fixedly connected to the fixing plate 11.
[0037] The sensor of the present invention includes four strain gauges, which form a Wheatstone bridge circuit. The internal wiring of the sensor is as shown in the attached figure. Figure 5 shown.
[0038] The Wheatstone bridge circuit can be used to measure resistance in various ways:
[0039] ① Determine the absolute value of resistance by comparing it with a known resistance;
[0040] ②Measure the relative change of resistance.
[0041] The latter method is used in strain gauge technology, which can determine the relative change in the resistance of the strain gauge, usually with an accuracy of 10^-4 to 10^2Ω / Ω.
[0042] The detection principle of sensor 4 is as follows:
[0043] The four arms or branches of the Wheatstone bridge are formed by four resistors R1, R2, R3 and R4. The corners 2 and 3 of the bridge indicate the connection of the bridge excitation voltage Vs; the corners 1 and 4 are the bridge output voltage Vo, i.e. the measurement signal.
[0044] If a supply voltage Vs is applied to the bridge terminals 2 and 3, the supply voltage is divided into two half-bridges by R1, R2 and R4, R3, ie each half-bridge forms a voltage divider.
[0045] The bridge may be unbalanced due to the different resistance voltages of R1, R2 and R3, R4. The calculation formula is as follows:
[0046]
[0047] According to this formula, assuming that the ratio of Vo / Vs is α, when three of the resistance values R1, R2, R3, and R4 are known, the fourth resistance value can be calculated. The resistance value is proportional to the weight. When the standard weight, such as 100g, is calibrated with the measured value, the weight of the object can be obtained.
[0048] like Figure 3-4 As shown, a detection method of a dynamic human body weight detection device, the sensor 4 sends data to the control module 1, and the control module performs the following steps:
[0049] Step A. Initial calibration;
[0050] Step B. AD adoption and conversion of human body weight value;
[0051] Step C. PID control algorithm stabilizes the weight value;
[0052] Step D: Execute the creep algorithm three times to perform temperature cumulative error compensation;
[0053] Step EN filtering, take the average value to get the accurate weight value.
[0054] The PID control algorithm formula in step C is as follows:
[0055] u(t)=a+Kp*e(t)+Ki*∫e(t)dt+Kd*e'(t)
[0056] Where: a is the initial number of the detection device, u(t) is the control amount, e(t) is the deviation, e'(t) is the rate of change of the deviation, Kp is the proportional coefficient, Ki is the integral coefficient, and Kd is the differential coefficient.
[0057] The proportional coefficient Kp controls the size of the deviation. When the deviation is larger, the control amount is larger and the system responds faster.
[0058] The integral coefficient Ki controls the integral of the deviation. When the integral of the deviation is larger, the control amount is larger, and the system can eliminate the accumulation of deviation.
[0059] The differential coefficient Kd controls the rate of change of the deviation. When the rate of change of the deviation is larger, the control amount is larger, and the system can prevent the system from overshooting.
[0060] The creep algorithm in step D includes:
[0061] According to the currently acquired sensor deformation collection AD value Va1 and temperature AD value Vt1, compared with the corresponding values acquired last time, combined with the initial calibration values Xa, Xt, the current sampling value is judged to determine whether to send creep, wherein the creep state includes positive creep state and negative creep state;
[0062] According to the state of the first creep, the positive state Xa, Xt takes positive values, and the negative state takes -Xa, -Xa. The second sensor deformation collects AD value Va2 and temperature AD value Vt2, and again determines whether the absolute value of the difference with the calibration value exceeds the threshold K1, and determines the magnitude of the creep amplitude P;
[0063] According to the calibration amplitude P obtained for the second time, and the third sensor deformation acquisition AD value Va3 and temperature AD value Vt3, it is judged again whether the absolute value of the calibration value exceeds the mean threshold M, and the effect of creep is judged. If the deviation from the actual value is within a reasonable accuracy range, the parameters Xa, Xt, P, and M are determined to be valid parameters, otherwise appropriate adjustments are made.
[0064] Finally, the weight value under the effective parameters is processed by Kalman filtering to obtain and store Kalman filtering data, and the N-times filtered data is processed by median filtering to obtain a stable and accurate weight value.
[0065] The present invention obtains accurate human body weight data through PID algorithm and creep filter algorithm; the present invention uses 4 sensors to support the weight detection bracket, receives the data of the sensor through the control module 1 of the weighing system, calculates the data through algorithm analysis, transmits it to the touch screen, and displays it digitally, thereby achieving the purpose of weighing. The present invention can provide fast, convenient and accurate human body weight monitoring data (with an accuracy of 10-50g) to the guardian.
[0066] The above description is only a preferred embodiment of the present invention, so all equivalent changes or modifications made according to the structure, characteristics and principles described in the scope of the patent application of the present invention are included in the scope of the patent application of the present invention.
Claims
1. A dynamic human body weight detection device, comprising a weighing module and a control module, characterized in that: The weighing module includes a weighing bracket and a plurality of sensors. The weighing bracket is provided with at least three fixing plates, each fixing plate is matched with a supporting bottom plate, a sensor is connected between the fixing plate and the supporting bottom plate, and a plurality of the sensors are connected to the control module through lines; The detection method of the dynamic human body weight detection device includes the sensor sending data to a control module, and the control module executing the following steps: Step A. Initial calibration; Step B. AD adoption and conversion of human body weight value; Step C. PID control algorithm stabilizes the weight value; Step D: Execute the creep algorithm three times to perform temperature cumulative error compensation; Step EN filtering, taking the average value to get the accurate weight value; The PID control algorithm formula in step C is as follows: u(t)=a+Kp*e(t)+Ki*∫e(t)dt+Kd*e'(t) Where: a is the initial number of the detection device, u(t) is the control amount, e(t) is the deviation, e'(t) is the rate of change of the deviation, Kp is the proportional coefficient, Ki is the integral coefficient, and Kd is the differential coefficient; The creep algorithm in step D includes: According to the currently acquired sensor deformation collection AD value Va1 and temperature AD value Vt1, compared with the corresponding values acquired last time, combined with the initial calibration values Xa, Xt, the current sampling value is judged to determine whether to send creep, wherein the creep state includes positive creep state and negative creep state; According to the state of the first creep, the positive state Xa, Xt takes positive values, and the negative state takes -Xa, -Xa. The second sensor deformation collects AD value Va2 and temperature AD value Vt2, and again determines whether the absolute value of the difference with the calibration value exceeds the threshold K1, and determines the magnitude of the creep amplitude P; According to the calibration amplitude P obtained for the second time, and the third sensor deformation acquisition AD value Va3 and temperature AD value Vt3, it is judged again whether the absolute value of the calibration value exceeds the mean threshold M, and the effect of creep is judged. If the deviation from the actual value is within a reasonable accuracy range, the parameters Xa, Xt, P, and M are determined to be valid parameters, otherwise appropriate adjustments are made.
2. The dynamic human body weight detection device according to claim 1, characterized in that: The sensor is provided with four strain gauges, which form a Wheatstone bridge circuit.
3. The dynamic human body weight detection device according to claim 1, characterized in that: The control module is integrated with an amplifier chip and an ADC digital-to-analog converter. The signal of the sensor is processed by the amplifier and the ADC digital-to-analog converter and then sent to the control module.
4. The dynamic human body weight detection device according to claim 1, characterized in that: It also includes a touch screen and a power supply, and the control module is connected to the touch screen and the power supply through a line.
5. The dynamic human body weight detection device according to claim 1, characterized in that: The weighing bracket is provided with four fixing plates, which are respectively arranged at four corners of the weighing bracket; one end of the sensor is fixedly connected to the supporting bottom plate, and the other end of the sensor is fixedly connected to the fixing plate.
