Electromagnetic damping control system, method, device and equipment for body builder and medium
Through the real-time detection and dynamic adjustment of the resistance value by the closed current loop system, the problem of the damping force in existing electromagnetic damping fitness equipment increasing as the movement speed increases is solved, achieving precise control of the damping force and a natural and linear resistance experience, improving the Exercise effect.
Patent Information
- Application Number
- CN202411308796.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2025-01-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing electromagnetic damping fitness equipment fails to fully optimize the circuit response mechanism, resulting in an increase in electromagnetic damping force when the exercise speed increases, resulting in a nonlinear resistance experience, affecting the accuracy and comfort of exercise.
A closed current loop system is used, including a generator, load resistor, adjustable digital potentiometer and current sensor. The controller detects the current in real time and dynamically adjusts the resistance value according to the target current and resistance control rules to accurately control the electromagnetic damping force.
The precision regulation of damping force is achieved, ensuring the consistency and stability of the damping force, so that the fitness device provides a more natural and linear resistance experience, and improves the exercise effect.
Smart Images

Figure CN119362930A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fitness equipment, and in particular to an electromagnetic damping control system, method, device, equipment and medium of a fitness equipment. Background Art
[0002] The mainstream fitness equipment on the market currently generally relies on gravity blocks as their main load source. Through a sophisticated mechanical structure system, the fitness person ultimately transmits the force to the rope system supporting the gravity block to achieve the exercise effect. However, with the advancement of technology, some designs have explored the application of electromagnetic damping technology, aiming to use electromagnetic damping force as an innovative source of fitness weight.
[0003] However, current electromagnetic damping fitness equipment has failed to fully optimize the circuit response mechanism, leading to a common phenomenon: as the speed of movement increases, the electromagnetic damping force also increases. Taking the rowing machine as an example, although this type of equipment can simulate the dynamic damping experience during rowing, the curve relationship between its speed and resistance is significantly different from that of traditional gravity-driven fitness equipment. Athletes often experience a nonlinear experience where the faster the speed, the greater the resistance, which to some extent affects the accuracy and comfort of exercise. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide an electromagnetic damping control system, method, device, equipment and medium for fitness equipment, aiming to solve at least one of the above technical problems.
[0005] The technical solution of the present invention to solve the above technical problems is as follows:
[0006] In a first aspect, the present application provides an electromagnetic damping control system for a fitness device, which adopts the following technical solution:
[0007] An electromagnetic damping control system for a fitness machine, comprising a generator connected to the fitness machine and a closed current loop connected to the generator, the closed current loop comprising a load resistor, an adjustable digital potentiometer and a current sensor connected in sequence, the closed current loop is also connected to a controller, the adjustable digital potentiometer and the current sensor are both electrically connected to the controller;
[0008] The current sensor is used to detect the current of the closed current loop;
[0009] The controller is used to obtain the current current of the current sensor, and generate the adjustment amount of the adjustable digital potentiometer based on the current current, the set target current and the preset resistance control rule;
[0010] The adjustable digital potentiometer is used to dynamically adjust the resistance value of the adjustable digital potentiometer based on the adjustment amount to adjust the electromagnetic damping force generated by the generator.
[0011] The beneficial effect of the present invention is that the electromagnetic damping control system realizes precise control of the damping force. Specifically, the current sensor detects the current current in the closed current loop in real time and feeds the data back to the controller. Based on the current current, the set target current and the preset resistance control rule, the controller calculates the adjustment amount of the adjustable digital potentiometer, and then dynamically adjusts its resistance value. This closed-loop control mechanism ensures the consistency and stability of the damping force, enabling the fitness equipment to provide a more natural and linear resistance experience. Ensure that fitness personnel can obtain the appropriate resistance level as needed during exercise, thereby improving the exercise effect.
[0012] Based on the above technical solution, the present invention can also be improved as follows.
[0013] Furthermore, the system also includes a battery, and the controller and the current sensor are both connected in parallel to the battery.
[0014] The beneficial effect of adopting the above further scheme is that the electromagnetic damping control system of the present invention ensures stable power supply of the system by adding a battery as a power source, so that the controller and the current sensor are connected in parallel with the battery, thereby improving the reliability and stability of the overall system.
[0015] Further, the controller generates a processing process of adjusting the amount of the adjustable digital potentiometer based on the current current, the set target current and the preset resistance control rule, including:
[0016] Calculating a current current difference based on the current current and the target current;
[0017] Calculating a difference change rate based on the current difference, the previous historical current difference and a sampling time interval;
[0018] Calculating a current adjustment amount of the adjustable digital potentiometer based on the current current difference, all historical current differences, the difference change rate and a preset adjustment amount calculation formula;
[0019] Based on the discrete time formula, the current adjustment amount is discretized to obtain the adjustment amount of the adjustable digital potentiometer.
[0020] The beneficial effect of adopting the above further scheme is that the electromagnetic damping control system can monitor the current changes in the closed current loop in real time, and accurately calculate the adjustment amount of the adjustable digital potentiometer through the PID algorithm to achieve dynamic and precise control of the damping force. Specifically, the system calculates the current difference based on the current current and the target current, and then calculates the difference change rate based on the historical current difference and the sampling time interval. Finally, the adjustment amount of the adjustable digital potentiometer is obtained using the preset adjustment amount calculation formula, and the accuracy of the adjustment amount is ensured through discretization processing. This process effectively ensures the stability of the damping force and the accuracy of the fitness effect.
[0021] Furthermore, the preset adjustment amount calculation formula is:
[0022]
[0023] Among them, ΔR is the adjustment amount of the adjustable digital potentiometer, K p is the proportional gain coefficient, e(t) is the current difference, K i is the integral gain coefficient, is the accumulated current difference from time 0 to the current time t, K d is the differential gain coefficient, The rate of change of the current difference over time.
[0024] The beneficial effect of adopting the above further solution is that the electromagnetic damping control system can dynamically adjust the resistance value of the adjustable digital potentiometer in real time based on the adjustment amount calculation formula, thereby ensuring that the damping force is always maintained within a preset target range.
[0025] Furthermore, the controller is also used for:
[0026] Acquire the efficiency of the generator, the first heating efficiency of the load resistor, the second heating efficiency of the adjustable digital potentiometer, and the exercise time of the fitness person;
[0027] Dividing the exercise time based on a set time division rule to obtain multiple time periods;
[0028] Calculating an average current in each time period based on the current at each sampling time in each time period;
[0029] For each of the time periods, based on the average current in the time period, the total resistance of the closed current loop and a preset energy calculation formula, the energy consumed by the fitness person in the time period is calculated;
[0030] Based on the energy consumed in each of the time periods, calculating the total energy consumed by the fitness person during the exercise time;
[0031] The total energy consumption is adjusted based on the efficiency of the generator, the first heating efficiency of the load resistor, and the second heating efficiency of the adjustable digital potentiometer to obtain the target energy consumption of the fitness person.
[0032] The beneficial effect of adopting the above further scheme is that the system divides the exercise time into multiple time periods based on the set time division rules, and calculates the average current in each time period. The average current, the total resistance of the closed current loop and the preset energy calculation formula are used to calculate the energy consumed by the fitness person in each time period, and then the total energy consumed during the exercise process is obtained. Finally, the system adjusts the total energy consumption to obtain the target energy consumption of the fitness person, thereby realizing accurate statistics and feedback of fitness data.
[0033] Furthermore, the system also includes a display module, which is connected to the controller and the battery respectively, and is used to display the exercise time and target energy consumption of the fitness person.
[0034] The beneficial effect of adopting the above further scheme is that the display module enables users to monitor their exercise progress and energy consumption in real time, which helps to formulate and adjust training plans, thereby improving exercise efficiency and results. The electromagnetic damping control system not only significantly improves the safety and personalized customization capabilities of fitness equipment, but also can display the exercise time and target energy consumption of fitness personnel in real time through the display module, enhancing the user's sense of participation and satisfaction.
[0035] In a second aspect, the present application provides an electromagnetic damping control method for a fitness device, which adopts the following technical solution:
[0036] An electromagnetic damping control method for a fitness device, comprising:
[0037] Acquiring a current of a closed current loop, wherein the closed current loop includes a generator, a load resistor, an adjustable digital potentiometer, and a current sensor connected in sequence, wherein the generator is connected to the fitness device;
[0038] Based on the current current, the set target current and the preset resistance control rule, an adjustment amount of the adjustable digital potentiometer is generated, so that the adjustable digital potentiometer dynamically adjusts the resistance value of the adjustable digital potentiometer based on the adjustment amount.
[0039] In a third aspect, the present application provides an electromagnetic damping control device for a fitness machine, which adopts the following technical solution:
[0040] An acquisition module, used for acquiring a current of a closed current loop, wherein the closed current loop includes a generator, a load resistor, an adjustable digital potentiometer and a current sensor connected in sequence;
[0041] The control module is used to generate an adjustment amount of the adjustable digital potentiometer based on the current current, the set target current and the preset resistance control rule, so that the adjustable digital potentiometer dynamically adjusts the resistance value of the adjustable digital potentiometer based on the adjustment amount.
[0042] In a fourth aspect, the present application provides an electronic device, which adopts the following technical solution:
[0043] An electronic device comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and execute the electromagnetic damping control method of the fitness equipment described in the second aspect.
[0044] In a fifth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0045] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute the electromagnetic damping control method of a fitness device described in any one of the second aspects.
[0046] Additional aspects and advantages of the present application will be partially given in the following description, which will become apparent from the following description, or will be understood through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A schematic diagram of an electromagnetic damping control system of a fitness device provided by an embodiment of the present invention;
[0048] Figure 2 A schematic flow chart of an electromagnetic damping control method for a fitness device provided by an embodiment of the present invention;
[0049] Figure 3 A structural block diagram of an electromagnetic damping control device for a fitness machine provided by an embodiment of the present invention;
[0050] Figure 4 A structural block diagram of an electronic device provided by an embodiment of the present invention.
[0051] Reference numerals: 1. generator; 2. adjustable digital potentiometer; 3. controller; 4. current sensor; 5. battery; 6. load resistor. DETAILED DESCRIPTION
[0052] The principles and features of the present invention are described below. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.
[0053] The technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.
[0054] The solution provided by the embodiment of the present invention can be applied to any application scenario where the electromagnetic damping of a fitness device needs to be controlled. The solution provided by the embodiment of the present invention can be executed by an electronic device with a data processing function, such as a single chip microcomputer with a data processing function installed on a fitness device.
[0055] The embodiment of the present invention provides a possible implementation method, such as Figure 1 As shown, a schematic diagram of the structure of an electromagnetic damping control system of a fitness machine is provided. The system includes a generator 1 connected to the fitness machine and a closed current loop connected to the generator 1, the closed current loop includes a load resistor 6, an adjustable digital potentiometer 2 and a current sensor 4 connected in sequence, the closed current loop is also connected to a controller 3, the adjustable digital potentiometer 2 and the current sensor 4 are both electrically connected to the controller 3;
[0056] The current sensor 4 is used to detect the current of the closed current loop;
[0057] The controller 3 is used to obtain the current current of the current sensor 4, and generate the adjustment amount of the adjustable digital potentiometer 2 based on the current current, the set target current and the preset resistance control rule;
[0058] The adjustable digital potentiometer 2 is used to dynamically adjust the resistance value of the adjustable digital potentiometer 2 based on the adjustment amount, so as to adjust the electromagnetic damping force generated by the generator 1.
[0059] In the embodiment of the present application, the generator 1 is connected to the moving part of the fitness equipment through a mechanical transmission structure, and the mechanical transmission structure includes at least one belt and at least one transmission roller, the belt is connected to the rotating shaft of the generator 1, and the transmission roller is installed on the moving part of the fitness equipment, so as to effectively transfer the exercise energy of the fitness person to the generator 1. The current sensor 4 can be a current transformer or a Hall effect sensor, etc.
[0060] The electromagnetic damping control system realizes precise control of the damping force. The current sensor 4 detects the current current in the closed current loop in real time and feeds the data back to the controller 3. The controller 3 calculates the adjustment amount of the adjustable digital potentiometer 2 based on the current current, the set target current and the preset resistance control rule, and then dynamically adjusts its resistance value. This closed-loop control mechanism ensures the consistency and stability of the damping force, allowing the fitness equipment to provide a more natural and linear resistance experience. Ensure that fitness personnel can obtain the appropriate resistance level as needed during exercise, thereby improving the exercise effect.
[0061] In an embodiment of the present application, the system also includes a battery 5, and the controller 3 and the current sensor 4 are both connected in parallel to the battery 5. The battery 5 is used to power each module in the system. By adding the battery 5 as a power source, the stable power supply of the system is ensured, thereby improving the reliability and stability of the overall system.
[0062] In the embodiment of the present application, the controller 3 generates a processing process of the adjustment amount of the adjustable digital potentiometer 2 based on the current current, the set target current and the preset resistance control rule, including:
[0063] Step S11, calculating a current current difference based on the current current and the target current;
[0064] Step S12, calculating the difference change rate based on the current difference, the previous historical current difference and the sampling time interval;
[0065] Step S13, calculating the current adjustment amount of the adjustable digital potentiometer 2 based on the current current difference, all historical current differences, the difference change rate and a preset adjustment amount calculation formula;
[0066] Step S14: discretize the current adjustment amount based on a discrete time formula to obtain the adjustment amount of the adjustable digital potentiometer 2.
[0067] In an embodiment of the present application, the total resistance in the closed current loop is the sum of the resistances of the generator 1, the load resistor 6 and the adjustable digital potentiometer 2. The controller 3 first reads the current value (denoted as I) provided by the current sensor 4, compares it with the preset target current value (denoted as Imax), and calculates the current current difference, which reflects the degree of deviation between the current current and the target current. Afterwards, based on the current current error, the previous historical current difference and the sampling time interval, the difference change rate is calculated, and the difference change rate reflects the changing trend of the current error over time. Afterwards, according to the preset adjustment amount calculation formula, the controller 3 calculates the current adjustment amount (denoted as ΔR) of the adjustable digital potentiometer 2. The current adjustment amount is intended to adjust the current in the closed current loop by changing the resistance value, thereby reducing the difference between the current current and the target current. The preset adjustment amount calculation formula is:
[0068]
[0069] Among them, ΔR is the current adjustment value of the adjustable digital potentiometer 2, K p is the proportional gain coefficient, e(t) is the current difference, K i is the integral gain coefficient, is the accumulated current difference from time 0 to the current time t, K d is the differential gain coefficient, The rate of change of the current difference over time.
[0070] Since the digital control system works at discrete time points, it is necessary to discretize the adjustment amount under continuous time. The controller 3 discretizes the calculated current adjustment amount ΔR according to the discrete time formula to obtain the final adjustment amount for adjusting the adjustable digital potentiometer 2. The discretization process may include rounding, truncation or application of other quantization strategies, but is not limited to these, to ensure that the adjustment amount meets the adjustment range and accuracy requirements of the digital potentiometer 2.
[0071] In the embodiment of the present application, the discrete time formula is:
[0072]
[0073] Wherein, ΔR[n] is the adjustment amount of the adjustable digital potentiometer 2, n is the current difference at the nth sampling point, and Δt is the sampling time interval.
[0074] The electromagnetic damping control system of the fitness machine realizes dynamic and precise control of the damping force by real-time monitoring of the current change in the closed current loop and accurately calculating the adjustment amount of the adjustable digital potentiometer 2, thereby effectively ensuring the stability of the damping force and the accuracy of the fitness effect.
[0075] As an optional implementation of the embodiment of the present application, the controller 3 is further configured to:
[0076] The efficiency of the generator 1, the first heating efficiency of the load resistor 6, the second heating efficiency of the adjustable digital potentiometer 2, and the exercise time of the fitness person are obtained; wherein the efficiency of the generator 1 represents the ability of the flow generator 1 to convert input mechanical energy (such as the force generated by the fitness person through exercise) into electrical energy, the first heating efficiency represents the energy loss ratio of the load resistor 6, and the second heating efficiency represents the energy loss ratio of the adjustable digital potentiometer 2 when adjusting the resistance;
[0077] Dividing the exercise time based on a set time division rule to obtain multiple time periods;
[0078] Calculating an average current in each time period based on the current at each sampling time in each time period;
[0079] For each of the time periods, based on the average current in the time period, the total resistance of the closed current loop and a preset energy calculation formula, the energy consumed by the fitness person in the time period is calculated;
[0080] Based on the energy consumed in each of the time periods, calculating the total energy consumed by the fitness person during the exercise time;
[0081] The total energy consumption is adjusted based on the efficiency of the generator 1 , the first heating efficiency of the load resistor 6 , and the second heating efficiency of the adjustable digital potentiometer 2 to obtain the target energy consumption of the fitness person.
[0082] In an embodiment of the present application, the exercise time is divided based on the set time division rule. Specifically, the exercise time can be divided according to the set time intervals, for example, every 10 minutes is divided into a time period, and the exercise time can also be divided according to the different stages of the recognized fitness movements. Different time intervals can also be set according to different sports modes, and the exercise time can be divided according to the time intervals corresponding to the sports mode selected by the fitness personnel, and finally multiple time periods are obtained, but it is not limited to this. The sports mode can be an aerobic exercise mode, a strength training mode, or an interval training mode, etc.
[0083] In each time period, the controller 3 obtains the current values of multiple sampling times through the current sensor 4, and averages the current values of all sampling times in each time period to obtain the average current of the time period. Afterwards, the energy consumption in each time period is calculated using Joule's law, and the energy consumption in each time period is accumulated to obtain the total energy consumption of the fitness person during the exercise time. Among them, the preset energy calculation formula is:
[0084]
[0085] Where W is the total energy consumption, I i is the average current in the i-th time period, Δt i is the length of the i-th time period, and n is the total number of time periods.
[0086] In actual applications, factors such as the efficiency of the generator 1 and the heating efficiency of the resistor affect the total energy consumed by the fitness person during exercise time. Therefore, based on the efficiency of the generator 1, the heating efficiency of the load resistor 6 and the heating efficiency of the adjustable digital potentiometer 2, the total energy consumption is adjusted to calculate the target energy consumption, so that the consumption of the fitness person is calculated more accurately, thereby achieving accurate statistics and feedback of fitness data.
[0087] As an example, the controller 3 adjusts the total energy consumption based on the efficiency of the generator 1, the heating efficiency of the load resistor 6 and the heating efficiency of the adjustable digital potentiometer 2 in the following process:
[0088] The efficiency of the generator 1, the heating efficiency of the load resistor 6, the heating efficiency of the adjustable digital potentiometer 2 and the total energy consumption are input into a preset energy consumption adjustment formula to obtain the target energy consumption of the fitness person. The preset energy consumption adjustment formula is:
[0089]
[0090] Among them, E targe Consumes energy for the target, E targe is the total energy consumption, η a is the efficiency of generator 1, η b is the heating efficiency of the load resistor 6, η c is the heating efficiency of the adjustable digital potentiometer 2.
[0091] It should be noted that the energy consumption adjustment method is a simplified example and needs to be adjusted according to specific circumstances in practice.
[0092] Furthermore, the system further comprises a display module, which is connected to the controller and the battery respectively. The display module is used to display the exercise time and target energy consumption of the fitness person. The energy consumption of each time period can also be displayed. The display module can be a display.
[0093] The display module enables users to monitor their exercise progress and energy consumption in real time, which helps to formulate and adjust training plans, thereby improving exercise efficiency and effectiveness. The electromagnetic damping control system not only significantly improves the safety and personalized customization capabilities of fitness equipment, but also displays the exercise time and target energy consumption of fitness personnel in real time through the display module, enhancing user participation and satisfaction.
[0094] Based on Figure 1 The present invention also provides an electromagnetic damping control method for a fitness device based on the same principle as the system shown in Figure 2 , the electromagnetic damping control method of a fitness equipment comprises:
[0095] Step S210, obtaining the current current of a closed current loop, wherein the closed current loop includes a generator, a load resistor, an adjustable digital potentiometer and a current sensor connected in sequence, and the generator is connected to the fitness equipment;
[0096] Step S220, generating an adjustment amount of the adjustable digital potentiometer based on the current current, the set target current and a preset resistance control rule, so that the adjustable digital potentiometer dynamically adjusts the resistance value of the adjustable digital potentiometer based on the adjustment amount.
[0097] It should be noted that the execution subject of the method may be a controller, and its implementation principle is the same as the principle of the electromagnetic damping control system of a fitness device described above, which will not be repeated here.
[0098] Based on Figure 1 The same principle as the system shown in FIG. 1 , the embodiment of the present invention also provides an electromagnetic damping control device 300 for a fitness device, such as Figure 3 As shown in , the electromagnetic damping control device 300 of the fitness equipment may include an acquisition module 310 and a control module 320, wherein:
[0099] An acquisition module 310, for acquiring a current of a closed current loop, wherein the closed current loop includes a generator, a load resistor, an adjustable digital potentiometer, and a current sensor connected in sequence;
[0100] The control module 320 is used to generate an adjustment amount of the adjustable digital potentiometer based on the current current, the set target current and the preset resistance control rule, so that the adjustable digital potentiometer dynamically adjusts the resistance value of the adjustable digital potentiometer based on the adjustment amount.
[0101] The electromagnetic damping control device 300 of the fitness machine in the embodiment of the present invention can execute the electromagnetic damping control method of the fitness machine provided in the embodiment of the present invention, and the implementation principle is similar. The actions executed by each module and unit in the electromagnetic damping control device 300 of the fitness machine in each embodiment of the present invention correspond to the steps in the electromagnetic damping control method of the fitness machine in each embodiment of the present invention. For the detailed functional description of each module of the electromagnetic damping control device of the fitness machine, please refer to the description of the electromagnetic damping control method of the corresponding fitness machine shown in the previous text, which will not be repeated here.
[0102] Among them, the electromagnetic damping control device 300 of the above-mentioned fitness equipment can be a computer program (including program code) running in a computer device. For example, the electromagnetic damping control device 300 of the fitness equipment is an application software; the device can be used to execute the corresponding steps in the method provided in the embodiment of the present invention.
[0103] In some embodiments, the electromagnetic damping control device 300 of the fitness equipment provided by the embodiment of the present invention can be implemented in a combination of software and hardware. As an example, the electromagnetic damping control device 300 of the fitness equipment provided by the embodiment of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the electromagnetic damping control method of the fitness equipment provided by the embodiment of the present invention. For example, the processor in the form of a hardware decoding processor can adopt one or more application specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), complex programmable logic device (CPLD, Complex Programmable Logic Device), field programmable gate array (FPGA, Field-Programmable Gate Array) or other electronic components.
[0104] In other embodiments, the electromagnetic damping control device 300 of the fitness equipment provided by the embodiment of the present invention can be implemented in a software manner. Figure 3 An electromagnetic damping control device 300 of a fitness machine stored in a memory is shown, which may be software in the form of a program and a plug-in, and includes a series of modules, including an acquisition module 310 and a control module 320, for implementing the electromagnetic damping control method of the fitness machine provided by an embodiment of the present invention.
[0105] The modules involved in the embodiments of the present invention may be implemented by software or hardware, wherein the name of a module does not limit the module itself in some cases.
[0106] Based on the same principle as the method shown in the embodiment of the present invention, the embodiment of the present invention further provides an electronic device 400, such as Figure 4 As shown, the electronic device 400 includes a processor 401 and a memory 402 , and may further include one or more of an information input / information output (I / O) interface 403 , a communication component 404 , and a communication bus 405 .
[0107] The processor 401 is used to control the overall operation of the electronic device 400 to complete all or part of the steps in the electromagnetic damping control method of the fitness equipment described above; the memory 402 is used to store various types of data to support the operation of the electronic device 400, and these data may include, for example, instructions for any application or method used to operate on the electronic device 400, and data related to the application. The memory 402 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0108] The I / O interface 403 provides an interface between the processor 401 and other interface modules, and the above-mentioned other interface modules can be keyboards, mice, buttons, etc. These buttons can be virtual buttons or physical buttons. The communication component 404 is used to test the wired or wireless communication between the electronic device 400 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding communication component 304 can include: Wi-Fi components, Bluetooth components, NFC components.
[0109] The communication bus 405 may include a path to transmit information between the above components. The communication bus 305 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 405 may be divided into an address bus, a data bus, a control bus, etc.
[0110] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the electromagnetic damping control method of the above-mentioned fitness equipment are implemented.
[0111] The computer-readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0112] The terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not expressly listed, or also includes elements inherent to such process, method, article, or apparatus.
[0113] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of application involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned application concept. For example, the above features are replaced with (but not limited to) technical features with similar functions applied in the present application.
Claims
1. An electromagnetic damping control system for a fitness machine, characterized in that: It includes a generator connected to the fitness equipment and a closed current loop connected to the generator, the closed current loop includes a load resistor, an adjustable digital potentiometer and a current sensor connected in sequence, the closed current loop is also connected to a controller, and the adjustable digital potentiometer and the current sensor are both electrically connected to the controller; The current sensor is used to detect the current of the closed current loop; The controller is used to obtain the current current of the current sensor, and generate the adjustment amount of the adjustable digital potentiometer based on the current current, the set target current and the preset resistance control rule; The adjustable digital potentiometer is used to dynamically adjust the resistance value of the adjustable digital potentiometer based on the adjustment amount to adjust the electromagnetic damping force generated by the generator.
2. The electromagnetic damping control system of a fitness machine according to claim 1, characterized in that: The system further comprises a battery, and the controller and the current sensor are both connected in parallel with the battery.
3. The electromagnetic damping control system of a fitness machine according to claim 2, characterized in that: The controller generates an adjustment amount of the adjustable digital potentiometer based on the current current, the set target current and the preset resistance control rule, including: Calculating a current current difference based on the current current and the target current; Calculating a difference change rate based on the current difference, the previous historical current difference and a sampling time interval; Calculating a current adjustment amount of the adjustable digital potentiometer based on the current current difference, all historical current differences, the difference change rate and a preset adjustment amount calculation formula; Based on the discrete time formula, the current adjustment amount is discretized to obtain the adjustment amount of the adjustable digital potentiometer.
4. The electromagnetic damping control system of a fitness machine according to claim 3, characterized in that: The preset adjustment amount calculation formula is: Among them, ΔR is the adjustment amount of the adjustable digital potentiometer, K p is the proportional gain coefficient, e(t) is the current difference, K i is the integral gain coefficient, is the accumulated current difference from time 0 to the current time t, K d is the differential gain coefficient, The rate of change of the current difference over time.
5. The electromagnetic damping control system of a fitness machine according to claim 3, characterized in that: The controller is also used for: Acquire the efficiency of the generator, the first heating efficiency of the load resistor, the second heating efficiency of the adjustable digital potentiometer, and the exercise time of the fitness person; Dividing the exercise time based on a set time division rule to obtain multiple time periods; Calculating an average current in each time period based on the current at each sampling time in each time period; For each of the time periods, based on the average current in the time period, the total resistance of the closed current loop and a preset energy calculation formula, the energy consumed by the fitness person in the time period is calculated; Based on the energy consumed in each of the time periods, calculating the total energy consumed by the fitness person during the exercise time; Based on the efficiency of the generator, the first heating efficiency of the load resistor and the second heating efficiency of the adjustable digital potentiometer, the total energy consumption is adjusted to obtain the target energy consumption of the fitness person.
6. The electromagnetic damping control system of a fitness machine according to claim 5, characterized in that: The system further comprises a display module, which is connected to the controller and the battery respectively, and is used to display the exercise time and target energy consumption of the fitness person.
7. A method for controlling electromagnetic damping of a fitness machine, characterized in that: include: Acquiring a current of a closed current loop, wherein the closed current loop includes a generator, a load resistor, an adjustable digital potentiometer, and a current sensor connected in sequence, wherein the generator is connected to the fitness device; Based on the current current, the set target current and the preset resistance control rule, an adjustment amount of the adjustable digital potentiometer is generated, so that the adjustable digital potentiometer dynamically adjusts the resistance value of the adjustable digital potentiometer based on the adjustment amount.
8. An electromagnetic damping control device for a fitness machine, characterized in that: include: An acquisition module, used for acquiring a current of a closed current loop, wherein the closed current loop includes a generator, a load resistor, an adjustable digital potentiometer and a current sensor connected in sequence; The control module is used to generate an adjustment amount of the adjustable digital potentiometer based on the current current, the set target current and the preset resistance control rule, so that the adjustable digital potentiometer dynamically adjusts the resistance value of the adjustable digital potentiometer based on the adjustment amount.
9. An electronic device, characterized in that: comprising a processor coupled to a memory; The processor is configured to execute the computer program stored in the memory, so that the electronic device executes the method according to claim 7.
10. A computer-readable storage medium, characterized in that: The method comprises a computer program or an instruction, which, when being executed on a computer, causes the computer to execute the method as claimed in claim 7.