Voltage detecting method and electric weighing device
A voltage detection and electronic technology, applied in the computer field, can solve the problems of large weighing errors of electronic weighing equipment, and achieve the effect of improving user experience
Active Publication Date: 2017-05-17
PICOOC TECH CO LTD
4 Cites 0 Cited by
AI-Extracted Technical Summary
Problems solved by technology
[0006] This application provides a method for voltage detection, which is used to solve the technical pro...
Method used
[0110] In addition, the electronic weighing device can also send relevant prompt information to the electronic communication device paired with the ...
Abstract
The invention discloses a method for voltage detecting, which is used to solve the technical problem of larger weighing error of an electric weighing device when the supply voltage is insufficient. The method comprises the flowing steps: determining whether the variable quantity of weight of the user is greater than or equal to the present threshold; if the variable quantity of weight of the user is greater than or equal to the present threshold, whether the power supply voltage of the electric weighing device is detected to be less than or equal to the present voltage; the present voltage is the minimum voltage when the electric weighing device works normally, if the power supply voltage is less than or equal to the present voltage so that the message can be generated and printed; the prompt information is used to indicate that the supply voltage is less than or equal to the present voltage. The invention also discloses the corresponding electric equipment.
Application Domain
Current/voltage measurementSpecial purpose weighing apparatus
Technology Topic
Electric equipmentElectronic equipment +2
Image
Examples
- Experimental program(1)
Example Embodiment
[0061] In order to make the objectives, technical solutions and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention. In the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other arbitrarily. Also, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.
[0062] Optionally, in the embodiment of the present invention, the electronic communication device may include various electronic devices such as a personal computer (PC), a tablet computer (Portable Android Device, PAD), a mobile phone, etc., which is not limited in the embodiment of the present invention.
[0063] In addition, the term "and/or" in this article is only an association relationship describing associated objects, which means that there can be three relationships. For example, A and/or B can mean that there is A alone, and both A and B exist. There are three cases of B alone. In addition, the character "/" in this article, unless otherwise specified, generally indicates that the associated objects before and after are in an "or" relationship.
[0064] The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0065] See figure 1 The embodiment of the present invention provides a method for voltage detection. The main flow of the method is described as follows.
[0066] S101: When the user's weight changes, determine whether the user's weight change is greater than or equal to a preset threshold;
[0067] In the embodiment of the present invention, the preset threshold may be determined by those skilled in the art based on actual experience, or the preset threshold may also be set by the user, which is not limited in the embodiment of the present invention.
[0068] In the embodiment of the present invention, the weight obtained by the user's current measurement can be compared with the weight obtained by the user's previous measurement to determine whether the user's weight has changed.
[0069] For example, in this embodiment of the present invention, when the user's weight changes, before determining whether the user's weight change is greater than or equal to a preset threshold, the method further includes: acquiring the user's first weight; the first weight is the user's weight through the electronic weighing device The current weight obtained; according to the first weight and the second weight, it is determined whether the user’s weight has changed; the second weight is the last time the user passed the The weight obtained by the electronic weighing device; if the first weight is different from the second weight, it is determined that the user's weight has changed; the weight change is obtained according to the weight difference between the first weight and the second weight; the weight change is obtained according to the obtained weight change To determine whether the weight change is greater than or equal to the preset threshold.
[0070] In the embodiment of the present invention, the first weight may be, for example, the current weight of the user when weighing this time. For example, the electronic weighing device is a body fat scale, and the first weight is the weight that the user weighed when the user is on the scale, for example, 75 kg. The second weight is the user's previous weight measured by the body fat scale except this measurement. For example, the last weight measured by the body fat scale was 73kg, that is, the first weight is different from the second weight At this time, the electronic weighing device can determine that the user's weight information has changed. According to the first weight and the second weight, it can be determined that the weight change is 2 kg. Then, according to the preset threshold, it is determined whether the weight change is greater than or equal to the preset threshold. For example, assuming that the preset threshold is 1 kg, the weight change amount is greater than the preset threshold.
[0071] S102: If the weight change is greater than or equal to the preset threshold, detect whether the power supply voltage of the electronic weighing device is less than or equal to the preset voltage; the preset voltage is the lowest voltage when the electronic weighing device is working normally;
[0072] In the embodiment of the present invention, when the weight change is greater than or equal to the preset threshold, the electronic weighing device can detect the power supply voltage in the power supply module of the electronic weighing device. The power supply module can be composed of several batteries, or other forms The power supply module is not limited in the embodiment of the present invention.
[0073] In the embodiment of the present invention, the power supply voltage of the power supply module can be detected by the device voltage measurement circuit. For example, the current measurement circuit can be formed by using a specific chip to overlap the peripheral circuit, or using a basic circuit structure for voltage measurement, or based on the measured voltage. The voltage data is calculated to obtain the corresponding current data, which is not limited in the embodiment of the present invention.
[0074] In the embodiment of the present invention, a possible voltage detection method is to obtain a voltage detection signal when the weight change is greater than or equal to a preset threshold; according to the voltage detection signal, obtain the current power supply voltage of the electronic weighing device; if the current If the supply voltage is less than or equal to the preset voltage, a prompt message is generated and output.
[0075] For example, voltage detection is performed by a specific control circuit. When the weight change is greater than or equal to a preset threshold, the processor of the electronic weighing device generates a control signal (ie, voltage detection signal) and sends the signal to the control At this time, the control circuit obtains the current power supply voltage of the electronic weighing device through the control circuit according to the control signal, and determines whether it is necessary to generate and output prompt information according to the detected power supply voltage.
[0076] In the embodiment of the present invention, it is also possible to determine whether to perform voltage detection according to the user's selection. For example, if the weight change is greater than or equal to a preset threshold, send a detection request instruction to the electronic communication device; the electronic communication device matches the electronic weighing device; receives The definite detection instruction sent by the electronic communication device obtains the voltage detection signal according to the definite detection instruction; the definite detection instruction is an instruction fed back based on the requested detection instruction.
[0077] In the embodiment of the present invention, the electronic communication device can be paired with the electronic weighing device. For example, the electronic communication device is a smart phone and the electronic weighing device is a body fat scale. The two are paired via Bluetooth, that is, the two can transmit data to each other via Bluetooth. When the weight change is greater than or equal to the preset threshold, the electronic weighing device sends a request detection instruction to the electronic communication device. The instruction can cause the electronic communication device to display related request information, for example, the request information is "whether voltage is detected". After the user confirms, the electronic communication device generates feedback information (that is, equivalent to a confirmation detection instruction), and sends the confirmation detection instruction to the electronic weighing device. After the electronic weighing device receives the definite detection instruction, it can generate a voltage detection signal, for example, a control signal for controlling the voltage detection circuit.
[0078] S103: If the supply voltage is less than or equal to the preset voltage, generate and output prompt information; the prompt information is used to indicate that the supply voltage is less than or equal to the preset voltage.
[0079] In the embodiment of the present invention, if the power supply voltage is less than or equal to the preset voltage, prompt information is generated, and the prompt information is sent to the electronic communication device. For example, the electronic communication device is a mobile phone, and the electronic weighing device sends a prompt message to the mobile phone to remind the user that the power of the electronic weighing device is insufficient at this time. For example, the prompt message may be "The body fat scale has insufficient power, please replace the battery".
[0080] Optionally, the electronic weighing device can also calculate the remaining power and output the information, for example, if the power supply voltage is less than or equal to the preset voltage, enter the low power consumption mode; according to the power supply voltage, obtain the remaining power of the electronic weighing device Power; according to the remaining power and the power consumption of the electronic weighing device in the low power mode, obtain the usable time of the electronic weighing device in the low power mode; generate and output prompt information according to the usable time.
[0081] In the embodiment of the present invention, when the power supply voltage of the electronic weighing device is insufficient, it can enter the low power consumption mode, for example, only to measure the weight data without measuring other data, or to turn off some functions, etc., the present invention The embodiment does not limit this.
[0082] When the electronic weighing device enters the low power consumption mode, the power consumption of the electronic weighing device at that time can be determined, for example, the power consumption per minute. When measuring the power supply voltage, the remaining power of the power supply module can also be obtained. In this way, according to the remaining power and the power consumption per minute, the time that the electronic weighing device can be used in the low power consumption mode can be determined. , Will include the duration information output, for example, the information can be sent to the user's mobile phone. For example, a possible message is "The body fat scale has a low battery and it can be used for 30 minutes. Please replace the battery in time." Of course, the above are only examples and do not limit the present invention.
[0083] See figure 2 In the embodiment of the present invention, based on the same inventive concept, an electronic weighing device 20 is also provided, including:
[0084] Shell 201;
[0085] The processor 202; the processor 202 is arranged inside the housing;
[0086] The processor 202 is configured to determine whether the weight change of the user is greater than or equal to a preset threshold when the weight of the user changes; if the weight change is greater than or equal to the preset threshold, detect whether the power supply voltage of the electronic weighing device is less than or equal to the preset threshold Voltage; the preset voltage is the lowest voltage when the electronic weighing equipment is working normally; if the supply voltage is less than or equal to the preset voltage, a prompt message is generated and output; the prompt message is used to indicate that the supply voltage is less than or equal to the preset voltage.
[0087] Optionally, the processor 202 is further configured to:
[0088] When the user's weight changes, obtain the user's first weight before determining whether the user's weight change is greater than or equal to a preset threshold; the first weight is the current weight obtained by the user through the electronic weighing device;
[0089] According to the first weight and the second weight, determine whether the user's weight has changed; the second weight is the most recent weight obtained by the user through the electronic weighing device;
[0090] If the first weight is different from the second weight, it is determined that the weight of the user has changed;
[0091] Obtain the weight change according to the weight difference between the first weight and the second weight;
[0092] According to the acquired weight change, it is determined whether the weight change is greater than or equal to a preset threshold.
[0093] Optionally, the processor 202 is used to:
[0094] If the weight change is greater than or equal to the preset threshold, obtain the voltage detection signal;
[0095] Obtain the current supply voltage of the electronic weighing equipment according to the voltage detection signal;
[0096] If the current supply voltage is less than or equal to the preset voltage, a prompt message is generated and output.
[0097] Optionally, the electronic weighing device further includes: a transmitter and a receiver, both of which are arranged in the housing;
[0098] The processor 202 is configured to, if the weight change is greater than or equal to the preset threshold, send a request detection instruction to the electronic communication device through the transmitter; the electronic communication device matches the electronic weighing device; and the receiver receives the determination detection sent by the electronic communication device The command, according to the determined detection command, obtains the voltage detection signal; the determined detection command is a command fed back based on the requested detection command.
[0099] Optionally, the processor 202 is used to:
[0100] If the power supply voltage is less than or equal to the preset voltage, a prompt message is generated, and the prompt message is sent to the electronic communication device through the transmitter.
[0101] Optionally, the processor 202 is used to:
[0102] If the supply voltage is less than or equal to the preset voltage, enter the low power consumption mode;
[0103] According to the supply voltage, obtain the remaining power of the electronic weighing equipment;
[0104] According to the remaining power and the power consumption of the electronic weighing device in low power consumption mode, obtain the usable time of the electronic weighing device in low power consumption mode;
[0105] Generate and output prompt information according to the available time.
[0106] In the embodiment of the present invention, figure 2 The described electronic weighing equipment and figure 1 The voltage detection method described above corresponds to each other, and the implementation manners can refer to each other, so the repetitive content part is not repeated in the case of electronic equipment.
[0107] In the embodiment of the present invention, it should be noted that, since the processor 202 is disposed inside the housing 201, in order to show the processor 202 more clearly, a dotted line is used to mark it.
[0108] The above one or more technical solutions in the embodiments of the present invention have at least one or more of the following technical effects and advantages:
[0109] In the embodiment of the present invention, when the power supply voltage of the electronic weighing device is low, the electronic weighing device can prompt the user in time, avoiding the problem of large errors of the electronic weighing device due to the low power supply voltage.
[0110] In addition, the electronic weighing device can also send relevant prompt information to the electronic communication device paired with the electronic weighing device, which facilitates the user to know the power supply status of the electronic weighing device in time and improves the user experience.
[0111] Those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example. In practical applications, the above-mentioned functions can be allocated by different functional units as required, namely The internal structure of the device is divided into different functional units to complete all or part of the functions described above. For the specific working process of the above-described system, device, and unit, reference may be made to the corresponding process in the foregoing method embodiment, which will not be repeated here.
[0112] In the several embodiments provided by the present invention, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be It can be combined or integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
[0113] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
[0114] In addition, the functional units in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be realized in the form of hardware or software functional unit.
[0115] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including a number of instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .
[0116] Specifically, the computer program instructions corresponding to a voltage detection method in the embodiment of the present invention can be stored on storage media such as optical disks, hard disks, and USB flash drives. When the storage medium corresponds to a voltage detection method When computer program instructions are read or executed by an electronic device, the following steps are included:
[0117] When the user's weight changes, determine whether the user's weight change is greater than or equal to a preset threshold;
[0118] If the weight change is greater than or equal to the preset threshold, detecting whether the power supply voltage of the electronic weighing device is less than or equal to the preset voltage; the preset voltage is the lowest voltage when the electronic weighing device is working normally;
[0119] If the supply voltage is less than or equal to the preset voltage, generating and outputting prompt information; the prompt information is used to indicate that the supply voltage is less than or equal to the preset voltage.
[0120] Optionally, the step of storing in the storage medium: when the user's weight changes, determining whether the user's weight change is greater than or equal to a preset threshold, and the corresponding computer instruction before being executed includes the following steps:
[0121] Acquiring the first weight of the user; the first weight is the current weight acquired by the user through the electronic weighing device;
[0122] Determine whether the weight of the user has changed according to the first weight and the second weight; the second weight is the weight obtained by the user through the electronic weighing device the last time;
[0123] If the first weight is different from the second weight, it is determined that the weight of the user has changed;
[0124] Obtaining the weight change amount according to the weight difference between the first weight and the second weight;
[0125] According to the acquired weight change, it is determined whether the weight change is greater than or equal to the preset threshold.
[0126] Optionally, the AND step stored in the storage medium: if the weight change is greater than or equal to the preset threshold, detecting whether the power supply voltage of the electronic weighing device is less than or equal to the preset voltage, and the corresponding computer instruction is in The process of being executed includes the following steps:
[0127] If the weight change is greater than or equal to the preset threshold value, acquiring a voltage detection signal;
[0128] Obtaining the current power supply voltage of the electronic weighing device according to the voltage detection signal;
[0129] If the current supply voltage is less than or equal to the preset voltage, generating and outputting the prompt information.
[0130] Optionally, the AND step stored in the storage medium: if the weight change is greater than or equal to the preset threshold, acquiring a voltage detection signal, and the corresponding computer instruction during execution includes the following steps:
[0131] If the weight change is greater than or equal to the preset threshold, send a detection request instruction to an electronic communication device; the electronic communication device matches the electronic weighing device;
[0132] Receive a certain detection instruction sent by the electronic communication device, and obtain the voltage detection signal according to the certain detection instruction; the certain detection instruction is an instruction fed back based on the request detection instruction.
[0133] Optionally, the AND step stored in the storage medium: if the power supply voltage is less than or equal to the preset voltage, generating and outputting a prompt message, and the corresponding computer instruction during the execution process includes the following steps:
[0134] If the supply voltage is less than or equal to the preset voltage, generate the prompt information, and send the prompt information to the electronic communication device.
[0135] Optionally, the AND step stored in the storage medium: if the power supply voltage is less than or equal to the preset voltage, generating and outputting a prompt message, and the corresponding computer instruction during the execution process includes the following steps:
[0136] If the power supply voltage is less than or equal to the preset voltage, enter a low power consumption mode;
[0137] Obtaining the remaining power of the electronic weighing device according to the power supply voltage;
[0138] Acquiring, according to the remaining power and the power consumption of the electronic weighing device in the low power consumption mode, the usable time of the electronic weighing device in the low power consumption mode;
[0139] According to the available time, the prompt information is generated and output.
[0140] Although the preferred embodiments of the present invention have been described, those skilled in the art can make additional changes and modifications to these embodiments once they learn the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present invention.
[0141] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. In this way, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations.
PUM


Description & Claims & Application Information
We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
Similar technology patents
Vehicular virtual terminal system based on dynamic map interface
Owner:NANJING UNIV
Video photographing control device and method, and unmanned aerial vehicle
Owner:ZEROTECH (BEIJING) INTELLIGENCE TECH CO LTD
NFC-enable Mobile Device, NFC reader and NFC system for Supporting a Plurality of Proximity Services
Owner:NXP BV
Method and system for managing chat messages of instant message temporary session group
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD
Intelligent household electrical appliance control system with integration of face recognition function
Owner:SICHUAN CHANGHONG ELECTRIC CO LTD
Classification and recommendation of technical efficacy words
- Improve user experience
Method and device of pairing connection of equipment
Owner:XIAOMI INC
Automatic charging system for electric automobile
Owner:WUHAN INSTITUTE OF TECHNOLOGY
Touch processing method and portable mobile terminal
Owner:LENOVO (BEIJING) CO LTD
Method, device and equipment for displaying multiple application windows on mobile terminal
InactiveCN102968243AImprove information acquisition efficiency and ease of operationImprove user experience
Owner:SHENZHEN YUNYINGGU TECH CO LTD
Content recommending method and device based on user characteristics
Owner:BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD