Rhythm furniture and magnetic drive control method thereof
By using a data table to store the pre-stored value of the sine wave signal in the magnetic drive controller of rhythmic furniture, and fit the output modulated sine wave signal through the SPWM module, the problems of insufficient computing power and poor stability in the prior art are solved. Magnetic drive control with high accuracy and smoothness is achieved.
Patent Information
- Application Number
- CN202411333403.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2025-02-18
AI Technical Summary
When generating sine wave signals, the existing SPWM mechanism has high requirements for the processor's computing power, which is difficult to be compatible with eight-bit microcontrollers, and has poor stability and accuracy.
The data table is used to store sine wave signals, and the pre-stored value is obtained through the table lookup module. The SPWM module performs a transformation program to fit the output of the modulated sine wave signal for the full period, and the driving circuit module controls the change of the coil voltage.
It reduces the computing volume of the controller, improves the response speed, is compatible with low computing power processors, ensures the accuracy and fluency of magnetic drive control, and reduces production costs.
Smart Images

Figure CN119483399A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of rhythmic furniture, and in particular to a rhythmic furniture and a magnetic drive control method thereof. Background Art
[0002] In order to meet people's diverse needs, home furnishing products have gradually developed a variety of additional functions. Among them, rhythmic furniture helps users relax their whole body by reciprocating the frame at a certain frequency within a predetermined stroke. It also has the effect of promoting digestion, burning fat and losing weight. It can effectively improve the quality of life of users and has gradually become a leisure necessity in people's lives.
[0003] The main functional component of traditional rhythmic furniture is the base frame, which includes a fixed frame, a rhythm frame, a magnetic drive mechanism that drives the rhythm frame to move relative to the fixed frame, and a controller that outputs a corresponding drive signal to control the relative movement direction of the drive mechanism. In the related art, the drive mechanism mainly includes a coil and a magnet. The coil usually includes an insulating tube with a motion channel reserved in the center and a wire that is wound around the insulating tube in circles and is electrically insulated from each other. After the coil is energized, it will form a south and north pole at both ends and generate a corresponding magnetic field. The magnet is assembled in the motion channel accordingly, and is acted upon by a magnetic force in the magnetic field and moves in the motion channel toward one end of the coil; when the current direction in the wire is switched, the magnetic poles of the coil will be reversed accordingly, and the direction of the magnetic force on the magnet will also be reversed accordingly. The magnet will gradually stop the current movement trend and move toward the other end of the coil. The controller controls the magnitude, direction and movement stroke of the magnetic force on the magnet by outputting a drive signal to control the magnitude, direction and switching frequency of the current in the coil.
[0004] However, the inventors found in the specific implementation process that the use of sinusoidal pulse width modulation (SPWM) to simulate the output of a sinusoidal voltage waveform and equipped with a corresponding H-bridge drive circuit can achieve the conversion of the high and low levels of the power supply connected to the two ends of the coil. However, the existing SPWM mechanism uses a method of generating a sinusoidal signal while sampling and comparing operations, which requires a large amount of processor computing power. The existing eight-bit single-chip microcomputer is difficult to handle. The use of a higher-performance single-chip microcomputer will increase costs on the one hand, and on the other hand, the sampling and comparison operation process will have strong uncertainty, poor stability, and easy errors. Summary of the invention
[0005] In order to solve the above technical problems, the embodiments of the present application provide a rhythmic furniture and a magnetic drive control method thereof, which can be compatible with an eight-bit microcontroller with lower computing power while ensuring the accuracy and smoothness of operation.
[0006] The first aspect of the present application provides a rhythmic furniture, including a magnetic drive controller and a magnetic drive force mechanism, wherein the magnetic drive force mechanism includes a coil with a motion channel extending through the center thereof and a magnet disposed in the motion channel, wherein the magnet reciprocates in the motion channel under the action of magnetic force in a changing magnetic field generated by energizing the coil, and the magnetic drive controller is used to control the magnetic pole switching frequency and magnetic field variation law of the coil in the magnetic drive force mechanism, and the magnetic drive controller includes:
[0007] A storage module pre-stored with at least one data table, each of which contains a plurality of pre-stored values within a quarter cycle of a modulated sine wave signal to be output;
[0008] A table lookup module, which obtains a corresponding data table in the storage module according to an external control instruction;
[0009] An SPWM module extracts the pre-stored values in the data table in the table lookup module, performs a predetermined transformation procedure to fit and output a complete cycle of a modulated sine wave signal; and
[0010] The driving circuit module receives the modulated sine wave signal output from the SPWM module and controls the voltage applied to both ends of the coil to change according to the modulated sine wave signal.
[0011] By adopting the form of a data table for storing sinusoidal wave signals, the controller's calculation workload is reduced, the response speed is improved, and compatibility with processors with lower computing power, such as eight-bit single-chip microcomputers, is achieved; and each data table only contains the pre-stored value of a quarter cycle of a sinusoidal wave, which reduces the memory occupied by the data table in the controller, improves the smoothness of the controller's operation, and reduces the production cost of the magnetic drive controller.
[0012] In a possible implementation, the pre-stored values contained in each data table correspond to the first quarter cycle of the modulated sine wave signal to be output, and the complete sine wave is converted by the pre-stored values of the first quarter cycle, thereby reducing the complexity of the conversion and simplifying the program design.
[0013] In a possible implementation, the frequency of the modulated sine wave signal to be output corresponding to the data table is between 0.1-20 Hz. The 0.1-20 Hz sine wave signal can cover the rhythmic frequency range of the rhythmic furniture and is suitable for various usage modes of the rhythmic furniture.
[0014] In a possible implementation, the data tables are 1-41, and the minimum frequency difference between the modulated sine wave signals to be output corresponding to any two of the data tables is 0.5 Hz. By setting 1-41 data tables, the minimum frequency difference between the data tables is 0.5 Hz, and a buffer zone can be set between the various usage modes of the rhythmic furniture, and the two usage modes with different frequencies can be switched gradually, making the rhythm changes more soothing, improving the user experience, and reducing the probability of the magnetic drive mechanism jamming.
[0015] In a possible implementation, each of the data tables contains 13-2500 pre-stored values. The more pre-stored values there are, the higher the frequency of the modulated sine wave signal that the SPWM module can simulate, and the more suitable it is for rhythmic furniture with higher vibration frequency requirements; the fewer pre-stored values there are, the less time it takes to call data, the less load on the processing capacity of the SPWM module, and the better the running smoothness.
[0016] A second aspect of the present application provides a control method for a magnetic drive controller, which is applied to any of the magnetic drive controllers described above, and comprises the following steps:
[0017] S1: determining the frequency range of the modulated sine wave signal to be output according to the rhythmic frequency of the rhythmic furniture in different usage modes, generating at least one data table corresponding to the frequency range and storing it in the storage module, wherein the data table includes a plurality of pre-stored values corresponding to a quarter cycle of the modulated sine wave signal to be output;
[0018] S2: receiving an external control instruction, the table lookup module determines the frequency of the modulated sine wave signal to be output according to the external control instruction, and obtains the data table of the corresponding frequency in the storage module;
[0019] S3: the SPWM module extracts the pre-stored value in the data table in the table lookup module, performs a predetermined transformation procedure on the pre-stored value to form a modulated sine wave signal of a complete cycle, and outputs it to the drive circuit module; and
[0020] S4: The driving circuit module applies a voltage that changes according to the modulated sine wave signal to both ends of the coil according to the modulated sine wave signal.
[0021] By adopting the form of a data table for storing sinusoidal wave signals, the amount of calculation of the controller is reduced, the response speed is fast, and it is compatible with processors with smaller computing power such as eight-bit single-chip microcomputers; and each data table only contains the pre-stored value of a quarter cycle of the sine wave, which reduces the data table's occupancy of the controller's memory, improves the smoothness of the controller's operation, and reduces the production cost of the magnetic drive controller.
[0022] In a possible embodiment, the pre-stored value corresponds to the first quarter cycle of each of the modulated sine wave signals to be output, and the conversion procedure includes the following steps:
[0023] S31: the SPWM module sequentially shifts through each of the pre-stored values in the data table and takes values to form a modulated sine wave signal of the first quarter;
[0024] S32: the SPWM module shifts in reverse order in the data table to traverse each of the pre-stored values and obtains a value, which is connected to the end of the modulated sine wave signal of the first quarter cycle to form a modulated sine wave signal of the first half cycle;
[0025] S33: the SPWM module sequentially shifts through each of the pre-stored values in the data table and takes the opposite number of each of the pre-stored values, connecting it to the end of the modulated sine wave signal of the first half cycle to form a modulated sine wave signal of the first three quarters cycle; and
[0026] S34: The SPWM module shifts in reverse order in the data table to traverse each of the pre-stored values and takes the opposite number of each of the pre-stored values, and connects it to the end of the modulated sine wave signal of the first three quarters of the cycle to form a modulated sine wave signal of a complete cycle.
[0027] By storing the pre-stored values of the first quarter cycle of each modulated sine wave in a data table, the SPWM module sequentially extracts the pre-stored values in positive order, extracts the pre-stored values in reverse order, extracts the opposite of the pre-stored values in positive order, and extracts the opposite of the pre-stored values in reverse order, thereby fitting a modulated sine wave signal of a complete cycle. The program design is relatively simple, and the data processing is not complicated, which can ensure the response speed of the SPWM module and the smooth operation of the magnetic driving force mechanism.
[0028] In a possible embodiment, each of the modulated sine wave signals to be output is divided into a plurality of pulse signal intervals and blank intervals in its phase direction, each of the pre-stored values corresponds to a pulse signal interval, and a blank interval is provided between two adjacent pulse signal intervals. By dividing the sine wave into a plurality of pulse signal intervals and blank intervals, inserting a blank interval between every two pulse signal intervals, and adjusting the width of each pulse signal interval, a plurality of square waves of equal amplitude and unequal width are output and the corresponding modulated sine wave signal is fitted.
[0029] In a possible embodiment, the rhythmic frequency of the rhythmic furniture in each use mode is between 0.1-20Hz, the data table is set to correspond to the modulated sine wave signal with an output frequency of 0.1-20Hz, and each data table contains 13-2500 pre-stored values. The 0.1-20Hz sine wave signal can cover the rhythmic frequency range of the rhythmic furniture and is adapted to each use mode of the rhythmic furniture. The more pre-stored values there are, the finer the modulated sine wave signal simulated by the SPWM module, the more accurate the adjustment of the magnetic driving force mechanism, and the more stable the motion stroke control of the rhythmic furniture; the fewer pre-stored values there are, the less time it takes to call data, which reduces the data calculation and processing load of the SPWM module and improves the smoothness of operation.
[0030] In a possible embodiment, when the amplitudes of the modulated sine wave signals to be output are the same, the storage module may pre-store only one data table to obtain the modulated sine wave signals of other frequencies through simple conversion, or may pre-store multiple data tables to cover the modulated sine wave signals of different frequencies.
[0031] When the amplitudes of the modulated sine wave signals to be output are the same, the memory usage of the data table can be further compressed. The modulated sine wave signals of different frequencies can share a data table. The pre-stored values can be fitted to sine waves of different frequencies after simple calculations. It is also possible to reduce the amount of calculation by setting a corresponding data table one by one corresponding to each modulated sine wave signal to be output.
[0032] In a possible embodiment, pre-storing a plurality of data tables to cover modulated sine wave signals of different frequencies includes the following steps:
[0033] S11: Determine the rhythmic frequency of the rhythmic furniture in each mode;
[0034] S12: determining the frequency range of the modulated sine wave signal to be output according to the rhythmic frequency of the rhythmic furniture, and setting 1-41 groups of the modulated sine wave signals to be output with a minimum frequency difference of 0.1-1 Hz; and
[0035] S13: selecting 13-2500 of the pre-stored values in any quarter cycle of each of the modulated sine wave signals to be output to form the corresponding data table.
[0036] By generating multiple groups of modulated sine wave signals with a minimum frequency difference of 0.5Hz, it is ensured that each usage mode of the rhythmic furniture can have a corresponding modulated sine wave signal, which facilitates the precise control of each mode. At the same time, in the process of switching usage modes, gradual adjustment can be achieved with a gradient of 0.5Hz, making the switching process softer and more soothing, improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0038] Figure 1 It is a cross-sectional structural diagram of an optional embodiment of the magnetic driving force mechanism of the rhythmic furniture of the present application.
[0039] Figure 2 It is a structural principle block diagram of an optional embodiment of the rhythmic furniture of the present application.
[0040] Figure 3 It is a flowchart of an optional embodiment of the magnetic drive control method of the present application.
[0041] Figure 4 It is a flowchart of the transformation procedure in an optional embodiment of the magnetic drive control method of the present application.
[0042] Figure 5 It is a flowchart of the transformation procedure in an optional embodiment of the magnetic drive control method of the present application.
[0043] Figure numerals: storage module-10, data table-101, pre-stored value-1011, table lookup module-12, SPWM module-13, drive circuit module-14, magnetic driving force mechanism 2, coil 21, magnet 23, motion channel 210. DETAILED DESCRIPTION
[0044] Embodiments of the present embodiment are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present embodiment, and should not be construed as limiting the present embodiment.
[0045] In the description of this embodiment, it should be understood that descriptions involving orientation, such as up, down, front, back, left, right, etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing this embodiment and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on this embodiment.
[0046] In the description of this embodiment, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0047] In the description of this embodiment, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in this embodiment based on the specific content of the technical solution.
[0048] Sine pulse width modulation (SPWM) is a modulation technique widely used in power electronics technology. It simulates a sinusoidal waveform by adjusting the pulse width, thereby controlling the size and waveform of the output voltage. Therefore, it is suitable for magnetic driving force mechanisms that need to change the direction of high and low levels, and also has the function of reducing high-frequency harmonics. Specifically, in the first half of a sine wave, the voltage is positive, which can correspond to a rhythmic direction of the rhythmic furniture, and according to the law of sine wave changes, the voltage applied to the magnetic driving force mechanism is from small to large and then to small, which can reduce the inertia accumulation of the rhythmic furniture during the rhythmic process, and is conducive to accurately controlling the reciprocating motion stroke (i.e., amplitude) of the rhythmic furniture; when entering the second half of a sine wave, the corresponding output voltage is negative, then the high and low levels at both ends of the magnetic driving force mechanism are reversed, the current direction in the coil is also reversed, and the rhythmic direction of the rhythmic furniture is reversed, thereby completing a round-trip motion.
[0049] Among them, the SPWM fitting output sinusoidal wave signal usually selects several discontinuous phase intervals on the sine wave as pulse signal intervals. The amplitude of each pulse signal interval is the same but the width is different. The amplitude can be identified as the voltage of the power supply in this application, and is therefore fixed. A timer is set on the drive circuit to match the corresponding pulse signal interval. The timing duration of the timer is proportional to the width of the pulse signal interval. The on and off of the switch is controlled by the timer to accurately output a pulse square wave of corresponding width at both ends of the coil. Each of the square waves is integrated to fit the corresponding modulated sinusoidal wave signal.
[0050] See also Figure 1-Figure 2 , Figure 1 The cross-sectional structure diagram of the magnetic driving force mechanism of the rhythmic furniture is shown. Figure 2The structural principle block diagram of a magnetic drive controller of a rhythmic furniture of the present application is shown. The first aspect of the present application provides a rhythmic furniture, including a magnetic drive controller 1 and a magnetic drive force mechanism 2. The magnetic drive force mechanism 2 includes a coil 21 with a motion channel 210 extending through the center and a magnet 23 arranged in the motion channel 210. The magnet 23 reciprocates in the motion channel 210 under the action of magnetic force in the changing magnetic field generated by the coil 21 being energized. The magnetic drive controller 1 is used to control the magnetic pole switching frequency and magnetic field change law of the coil 21 in the magnetic drive force mechanism 23. The magnetic drive controller 1 includes:
[0051] The storage module 10 stores at least one data table 101, each of which contains a plurality of pre-stored values 1011 corresponding to a quarter cycle of a modulated sine wave signal;
[0052] A table lookup module 12, which obtains a corresponding data table 101 in the storage module 10 according to an external control instruction;
[0053] The SPWM module 13 extracts the pre-stored value 1011 in the data table 101 in the table lookup module 12 to fit and output a modulated sine wave signal; and
[0054] The driving circuit module 14 receives the modulated sine wave signal outputted from the SPWM module 13 and controls the voltage applied to both ends of the coil 21 to change according to the modulated sine wave signal.
[0055] Specifically, see Figure 3 , the corresponding magnetic drive control method of this application is:
[0056] S1: Determine the frequency range of the modulated sine wave signal to be output according to the rhythmic frequency of the rhythmic furniture in different usage modes, generate at least one data table 101 corresponding to the frequency range and store it in the storage module 10, wherein the data table 101 includes a plurality of pre-stored values 1011 corresponding to a quarter cycle of the modulated sine wave signal to be output;
[0057] S2: receiving an external control instruction, the table lookup module 12 determines the frequency of the modulated sine wave signal to be output according to the external control instruction, and obtains the data table 101 of the corresponding frequency in the storage module 10;
[0058] S3: the SPWM module 13 extracts the pre-stored value 1011 in the data table 101 in the table lookup module 12, and performs a predetermined transformation procedure on the pre-stored value 1011 to form a modulated sine wave signal of a complete cycle, and outputs it to the drive circuit module 14; and
[0059] S4: the driving circuit module 14 applies a voltage that changes according to the modulated sine wave signal to both ends of the coil 21 according to the modulated sine wave signal.
[0060] By adopting the form of a data table 101 for storing modulated sinusoidal wave signals, it is only necessary to simply extract the index of the pre-stored value 1011 to output the corresponding waveform, thereby reducing the amount of calculation of the magnetic drive controller 1, improving the response speed of the magnetic drive controller 1, being compatible with processors with smaller computing power such as eight-bit single-chip microcomputers, and reducing the production cost of the magnetic drive controller 1; in addition, each data table 101 only contains the pre-stored value 1011 of a quarter cycle of the sinusoidal wave, further compressing the occupation of the controller memory by the data table 101 and improving the smoothness of the controller operation.
[0061] Further, see Figure 4 The pre-stored value 1011 contained in the data table 101 preferably corresponds to the first quarter cycle of the modulated sine wave signal to be output. By using the pre-stored value 1011 of the first quarter cycle of the sine wave, the modulated sine wave signal of a complete cycle can be formed by simply converting the index logic of the pre-stored value 1011 through a conversion program. The specific method is:
[0062] S31: the SPWM module 13 sequentially shifts through each of the pre-stored values 1011 in the data table 101 and takes values to form a modulated sine wave signal of the first quarter cycle;
[0063] S32: the SPWM module 13 shifts in reverse order through each of the pre-stored values 1011 in the data table 101 and takes a value, which is connected to the end of the modulated sine wave signal of the first quarter cycle to form a modulated sine wave signal of the first half cycle;
[0064] S33: the SPWM module 13 sequentially shifts through each of the pre-stored values 1011 in the data table 101 and takes the opposite number of each of the pre-stored values 1011, and connects it to the end of the modulated sine wave signal of the first half cycle to form a modulated sine wave signal of the first three quarters cycle;
[0065] S34: The SPWM module 13 shifts in reverse order in the data table 101 to traverse each of the pre-stored values 1011 and takes the opposite number of each of the pre-stored values 1011, and connects it to the end of the modulated sine wave signal of the first three quarters of the cycle to form a modulated sine wave signal of a complete cycle.
[0066] The SPWM module 13 sequentially extracts the pre-stored value 1011 in positive sequence, extracts the pre-stored value 1011 in reverse sequence, extracts the opposite number of the pre-stored value 1011 in positive sequence, and extracts the opposite number of the pre-stored value 1011 in reverse sequence, thereby fitting a modulated sine wave signal of a complete cycle. The program design is relatively simple, and the data processing is not complicated. The response speed of the SPWM module 13 can be guaranteed, and the smooth operation of the driving mechanism can be guaranteed.
[0067] It is understandable that the pre-stored value of the phase interval of any quarter cycle of the sine wave signal can also be selected, for example, the 2 / Π-Π phase interval is selected, and the SPWM module 13 sequentially extracts the pre-stored value 1011 in reverse order, extracts the pre-stored value 1011 in positive order, extracts the opposite of the pre-stored value 1011 in reverse order, and extracts the opposite of the pre-stored value 1011 in positive order.
[0068] Since rhythmic furniture usually has multiple usage modes, the rhythmic frequencies of different usage modes are different. For example, in the sleep mode, the rhythm is usually more soothing and the frequency is lower; while in the exercise mode, the vibration is relatively strong to achieve the purpose of burning fat and losing weight; correspondingly, the magnetic drive controller 1 also needs to output a sine wave signal corresponding to the frequency. In the specific implementation process, the rhythmic frequency of each usage mode of the rhythmic furniture is between 0.1-20Hz, so the data table 101 should also contain a modulated sine wave signal that can fit a frequency of 0.1-20Hz. Specifically, when the amplitudes of the modulated sine wave signals to be output at each frequency are the same, the storage module 10 can only pre-store one of the data tables 101, pre-store the pre-stored value 1011 of the sine wave with a frequency of f, and when the sine wave with a frequency of g needs to be output, each pre-stored value 1011 is converted by a factor of f / g to obtain the pre-stored value 1011 corresponding to the sine wave with a frequency of g. The calculation formula is relatively simple, which can further compress the memory usage of the data table 101.
[0069] On the other hand, see Figure 5 , a plurality of the data tables 101 may also be pre-stored to cover the modulated sine wave signals of different frequencies, and the specific steps are as follows:
[0070] S11: Determine the rhythmic frequency of the rhythmic furniture in each mode;
[0071] S12: determining the frequency range of the modulated sine wave signal to be output according to the rhythmic frequency of the rhythmic furniture, and setting 1-41 groups of the modulated sine wave signals to be output with a minimum frequency difference of 0.5 Hz; and
[0072] S13: selecting 13-2500 of the pre-stored values 1011 in any quarter cycle of each of the modulated sine wave signals to be output to form the corresponding data table 101.
[0073] By generating multiple groups of modulated sine wave signals with a minimum frequency difference of 0.5 Hz, the modulated sine wave signals corresponding to each usage mode of the rhythmic furniture are covered, so that the data table 101 can be used to look up and output the modulated sine wave signals in each mode, thereby reducing the amount of calculation and achieving precise control of the magnetic driving force mechanism 2. On the other hand, in the process of switching the usage mode, the magnetic driving mechanism can be gradually adjusted with a gradient of 0.5 Hz, and the switching process is softer and more soothing, thereby improving the user's experience; at the same time, the damage to electronic components caused by sudden changes in voltage and / or current is reduced.
[0074] The following is a detailed description of the mechanism of SPWM for performing sinusoidal wave signal fitting in the magnetic drive controller 1 provided in this application:
[0075] After determining the waveform of the modulated sine wave signal to be output, a number of pulse signal intervals and blank intervals are divided in the phase direction of each sine wave. Each of the pre-stored values 1011 corresponds to a pulse signal interval. Specifically, corresponding to the width of the pulse signal interval, a blank interval is provided between two adjacent pulse signal intervals. All pulse signal intervals form square waves with equal amplitudes and unequal widths. The area integration of the square wave can be equivalent to the corresponding sine wave. In the specific implementation process, the drive circuit module 14 can respond to the pulse signal by adding a timer to control the time of power access. The width of the pulse signal interval is proportional to the timing duration of the timer. It can be understood that when the same data table 101 is used to convert into sine wave signals of different frequencies, the frequency of the sine wave signal is inversely proportional to the period, so each pulse signal interval and blank interval is also inversely proportional to the frequency of the sine wave signal. Correspondingly, it is only necessary to shorten the timing duration of the timer in the same proportion to fit a higher frequency sine wave waveform. The control logic is simple, and the control of the drive circuit module 14 is also smoother.
[0076] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present implementation. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0077] Although examples of the present embodiment have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present embodiment, and the scope of the present embodiment is defined by the claims and their equivalents.
Claims
1. A rhythmic furniture, comprising a magnetic drive controller and a magnetic drive force mechanism, wherein the magnetic drive force mechanism comprises a coil with a motion channel running through the center and a magnet arranged in the motion channel, wherein the magnet reciprocates in the motion channel under the action of magnetic force in a changing magnetic field generated by the coil being energized, and the magnetic drive controller is used to control the switching frequency of the magnetic poles of the coil and the changing law of the magnetic field in the magnetic drive force mechanism, and is characterized in that: The magnetic drive controller comprises: A storage module pre-stored with at least one data table, each of which contains a plurality of pre-stored values within a quarter cycle of a modulated sine wave signal to be output; A table lookup module, which obtains a corresponding data table in the storage module according to an external control instruction; An SPWM module extracts the pre-stored values in the data table in the table lookup module, performs a predetermined transformation procedure to fit and output a complete cycle of a modulated sine wave signal; and The driving circuit module receives the modulated sine wave signal output from the SPWM module and controls the voltage applied to both ends of the coil to change according to the modulated sine wave signal.
2. The rhythmic furniture according to claim 1, characterized in that: The pre-stored values contained in each of the data tables correspond to the first quarter of a cycle of the modulated sine wave signal to be output.
3. The rhythmic furniture according to claim 1, characterized in that: The frequency of the modulated sine wave signal to be output corresponding to the data table is between 0.1-20 Hz.
4. The rhythmic furniture according to claim 3, characterized in that: The data tables are 1-41, and the minimum value of the frequency difference between the modulated sine wave signals to be output corresponding to any two of the data tables is 0.5 Hz.
5. The rhythmic furniture according to any one of claims 1 to 4, characterized in that: Each of the data tables contains 13-2500 of the pre-stored values.
6. A magnetic drive control method for rhythmic furniture, characterized in that: The magnetic drive controller applied to the rhythmic furniture according to any one of claims 1 to 5, the control method comprises the following steps: S1: Determine the frequency range of the modulated sine wave signal to be output according to the rhythmic frequency of the rhythmic furniture in different usage modes, generate at least one data table corresponding to the frequency range and store it in the storage module, wherein the data table includes a plurality of pre-stored values corresponding to a quarter cycle of the modulated sine wave signal to be output; S2: receiving an external control instruction, the table lookup module determines the frequency of the modulated sine wave signal to be output according to the external control instruction, and obtains the data table of the corresponding frequency in the storage module; S3: the SPWM module extracts the pre-stored value in the data table in the table lookup module, and performs a predetermined transformation procedure on the pre-stored value to form a complete modulated sine wave signal, and finally outputs it to the driving circuit module; and S4: The driving circuit module applies a voltage that changes according to the modulated sine wave signal to both ends of the coil according to the modulated sine wave signal.
7. The control method according to claim 6, characterized in that: The pre-stored value corresponds to the first quarter cycle of each of the modulated sine wave signals to be output, and the conversion procedure includes the following steps: S31: the SPWM module sequentially shifts through each of the pre-stored values in the data table and takes values to form a modulated sine wave signal of the first quarter cycle; S32: the SPWM module shifts in reverse order in the data table to traverse each of the pre-stored values and obtains a value, which is connected to the end of the modulated sine wave signal of the first quarter cycle to form a modulated sine wave signal of the first half cycle; S33: the SPWM module sequentially shifts through each of the pre-stored values in the data table and takes the opposite number of each of the pre-stored values, connecting it to the end of the modulated sine wave signal of the first half cycle to form a modulated sine wave signal of the first three quarters cycle; and S34: The SPWM module shifts in reverse order in the data table to traverse each of the pre-stored values and takes the opposite number of each of the pre-stored values, and connects it to the end of the modulated sine wave signal of the first three quarters of the cycle to form a modulated sine wave signal of a complete cycle.
8. The control method according to claim 6, characterized in that: Each of the modulated sine wave signals to be output is divided into a plurality of pulse signal intervals and blank intervals in its phase direction, each of the pre-stored values corresponds to a pulse signal interval, and a blank interval is provided between two adjacent pulse signal intervals.
9. The control method according to claim 6, characterized in that: The rhythmic frequency of the rhythmic furniture in each usage mode is between 0.1-20 Hz, the data table is set to correspond to the modulated sine wave signal with an output frequency of 0.1-20 Hz, and each data table contains 13-2500 pre-stored values.
10. The control method according to claim 9, characterized in that: When the amplitudes of the modulated sine wave signals to be output are the same, the storage module can pre-store only one data table to obtain the modulated sine wave signals of other frequencies by simple conversion, or pre-store multiple data tables to cover the modulated sine wave signals of different frequencies.
11. The control method according to claim 10, characterized in that: The method of pre-storing a plurality of data tables to cover modulated sine wave signals of different frequencies comprises the following steps: S11: Determine the rhythmic frequency of the rhythmic furniture in each mode; S12: determining the frequency range of the modulated sine wave signal to be output according to the rhythmic frequency of the rhythmic furniture, and setting 1-41 groups of the modulated sine wave signals to be output with a minimum frequency difference of 0.5 Hz; and S13: selecting 13-2500 of the pre-stored values in any quarter cycle of each of the modulated sine wave signals to be output to form the corresponding data table.
Citation Information
Patent Citations
Differential analog front end device used for low-frequency signal detection and transmission system
CN103023445A
MCU (Microprogrammed Control Unit)-based SPWM (Sinusoidal Pulse Width Modulation) pulse signal implementation method
CN108459655A
Alternating current frequency conversion linear voice coil actuator and massager
CN213279461U
Rhythm device with constant output
CN220210222U