Electromagnet control circuit and device and massage equipment
By combining a voltage regulating unit and a voltage boosting unit, the electromagnet can be controlled by outputting voltages with different duty cycles and magnitudes. This solves the problem of low functionality in traditional electromagnet control circuits and enables flexible adjustment of the electromagnet's frequency and force.
Patent Information
- Application Number
- CN202422804237.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2034-11-15
AI Technical Summary
Traditional electromagnet control circuits can only output a fixed voltage value because the DC-to-DC boost circuit can only output a fixed voltage value, resulting in a consistent frequency of electromagnet impact or hammering, and thus low functionality.
By outputting control voltages with different duty cycles and different voltage regulation values through the voltage regulation unit, combined with the boost unit and the electromagnet control unit, flexible control of the electromagnet's movement frequency and force can be achieved.
This invention enables flexible adjustment of the frequency and force of the electromagnet's movement, improves the functionality of the electromagnet control circuit, and avoids the phenomenon of consistent frequency and force under a fixed voltage value.
Smart Images

Figure CN223598493U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application relates to the technical field of electromagnet control, and particularly relates to an electromagnet control circuit and device and a massage device. BACKGROUND
[0002] With the increasingly wide application of electromagnet control circuits in different fields, users have higher requirements for the electromagnet control circuit, in particular, the frequency of the impact or beating of the electromagnet in the electromagnet control circuit.
[0003] The conventional electromagnet control circuit is powered by a conventional DC-to-DC boost circuit for the operation of the electromagnet. The conventional electromagnet control circuit has a great defect, that is, the conventional DC-to-DC boost circuit can only output a fixed voltage value (that is, the frequency of the impact or beating of the electromagnet under the driving of the fixed voltage value is consistent), and thus the conventional electromagnet control circuit has low functionality.
[0004] The above content is only used to assist in understanding the technical solutions of the application and does not represent the acknowledgement of the above content as prior art. UTILITY MODEL CONTENT
[0005] The main purpose of the application is to provide an electromagnet control circuit, device and massage device, and to solve the technical problem of low functionality of the electromagnet control circuit.
[0006] To achieve the above purpose, the application provides an electromagnet control circuit, which comprises:
[0007] A voltage regulating unit is configured to output control voltages with different duty cycles and voltage regulating voltages with different sizes.
[0008] A boost unit is configured to output different output voltages based on the voltage regulating voltage output by the voltage regulating resistor and the first output end.
[0009] An electromagnet control unit is configured to control the movement of the electromagnet based on the control voltage output by the second output end and the output voltage output by the third output end.
[0010] In an embodiment, the voltage regulating unit comprises a digital-to-analog conversion chip, a control chip, a first resistor, a second resistor and a chip power supply, and the digital-to-analog conversion chip comprises:
[0011] a serial clock terminal, connected with the control chip and a first terminal of the first resistor;
[0012] a serial data terminal, connected with the control chip and a first terminal of the second resistor, wherein a second terminal of the first resistor is connected with a second terminal of the second resistor and then connected with the chip power supply;
[0013] a first power terminal, connected with the chip power supply;
[0014] a fourth output terminal, as a first output terminal of the voltage regulating unit, connected with a first terminal of the voltage regulating resistor, wherein a second terminal of the voltage regulating resistor is connected with a feedback terminal of the voltage boosting unit.
[0015] In an embodiment, the control chip comprises:
[0016] a first input / output port, connected with the serial clock terminal;
[0017] a second input / output port, connected with the serial data terminal;
[0018] a third input / output port, as a second output terminal of the voltage regulating unit, connected with a control terminal of the electromagnet control unit.
[0019] In an embodiment, the electromagnet control unit comprises a switch control subunit and an electromagnet subunit, and the switch control subunit comprises:
[0020] a third resistor, a first terminal of which is as the control terminal of the electromagnet control unit and connected with the third input / output port of the control chip in the voltage regulating unit;
[0021] a triode, a base of which is connected with a second terminal of the third resistor, an emitter of which is grounded;
[0022] a switch tube, a gate of which is connected with a collector of the triode, a drain of which is connected with the electromagnet subunit;
[0023] a fourth resistor, a first terminal of which is connected with the collector of the triode, a second terminal of which is as an input terminal of the electromagnet control unit and connected with a source of the switch tube and a third output terminal of the voltage boosting unit.
[0024] In an embodiment, the electromagnet subunit comprises:
[0025] a first diode, an anode of the first diode being connected with a drain of the switch tube;
[0026] a second diode, an anode of the second diode being grounded, a cathode of the second diode being connected with a cathode of the first diode;
[0027] an electromagnet, a first end of the electromagnet being connected with the cathode of the first diode, a second end of the electromagnet being grounded.
[0028] In an embodiment, the voltage boosting unit comprises a voltage boosting chip and a feedback output subunit, the voltage boosting chip comprises a feedback end and a fifth output end, the feedback output subunit comprises:
[0029] a fifth resistor, a first end of the fifth resistor being grounded, a second end of the fifth resistor being connected with the feedback end and a second end of the voltage regulating resistor;
[0030] a sixth resistor, a first end of the sixth resistor being connected with the second end of the fifth resistor, a second end of the sixth resistor being a third output end of the voltage boosting unit and being connected with the fifth output end and a second end of a fourth resistor in the electromagnet control unit;
[0031] a first capacitor, a first end of the first capacitor being grounded, a second end of the first capacitor being connected with the fifth output end.
[0032] In an embodiment, the voltage boosting chip comprises a second power supply end, a voltage boosting end, a first switch end and a second switch end, the voltage boosting unit comprises a power supply input subunit, the power supply input subunit comprises:
[0033] a second capacitor, a first end of the second capacitor being grounded, a second end of the second capacitor being connected with an external power supply;
[0034] a third capacitor, a first end of the third capacitor being grounded, a second end of the third capacitor being connected with the second power supply end;
[0035] a seventh resistor, a first end of the seventh resistor being connected with the second power supply end, a second end of the seventh resistor being connected with the external power supply;
[0036] an inductor, a first end of the inductor being connected with the external power supply, a second end of the inductor being connected with the first switch end and the second switch end;
[0037] a fourth capacitor, a first end of the fourth capacitor being connected with the voltage boosting end, a second end of the fourth capacitor being connected with the second end of the inductor.
[0038] In an embodiment, the voltage boosting chip comprises a third power supply end, an enable end, a common end, an analog ground end and a power ground end, wherein the analog ground end and the power ground end are grounded, the voltage boosting unit comprises a shunt circuit subunit, and the shunt circuit subunit comprises:
[0039] An eighth resistor, a first end of the eighth resistor is connected to an external enable signal, and a second end of the eighth resistor is connected to the enable end;
[0040] A ninth resistor, a first end of the ninth resistor is connected to the second end of the eighth resistor, and a second end of the ninth resistor is grounded;
[0041] A fifth capacitor, a first end of the fifth capacitor is connected to the third power supply end, and a second end of the fifth capacitor is grounded;
[0042] A tenth resistor, a first end of the tenth resistor is connected to the common end;
[0043] A sixth capacitor, a first end of the sixth capacitor is connected to the common end, and a second end of the sixth capacitor is grounded;
[0044] A seventh capacitor, a first end of the seventh capacitor is connected to a second end of the tenth resistor, and a second end of the seventh capacitor is grounded.
[0045] In addition, in order to achieve the above-mentioned purpose, an electromagnet control device is also provided, and the electromagnet control device comprises the above-mentioned electromagnet control circuit.
[0046] In addition, in order to achieve the above-mentioned purpose, a massage device is also provided, and the massage device comprises the above-mentioned electromagnet control device and an external power supply, and the electromagnet control device is connected to the external power supply.
[0047] The embodiment of the application provides an electromagnet control circuit, comprising a voltage regulating unit, the voltage regulating unit is used for outputting control voltages with different duty cycles and voltage regulating voltages with different sizes; a voltage boosting unit, a feedback end of the voltage boosting unit is connected with a first output end of the voltage regulating unit through a voltage regulating resistor, the voltage boosting unit is used for outputting different output voltages based on the voltage regulating voltage output by the voltage regulating resistor and the first output end; and an electromagnet control unit, a control end of the electromagnet control unit is connected with a second output end of the voltage regulating unit, an input end of the electromagnet control unit is connected with a third output end of the voltage boosting unit, and the electromagnet control unit is used for controlling the movement of an electromagnet based on the control voltage output by the second output end and the output voltage output by the third output end. The electromagnet control circuit outputs control voltages with different duty cycles and voltage regulating voltages with different sizes through the voltage regulating unit, wherein the control voltages with different duty cycles can control the movement frequency of the electromagnet in the electromagnet control unit to be different, the voltage boosting unit can output different output voltages, and then the electromagnet is controlled by using different output voltages. Because the voltage regulating voltages with different sizes and the voltage regulating resistor control unit can control the movement strength of the electromagnet to be different, the phenomenon that the direct current to direct current voltage boosting circuit can only output a fixed voltage value (that is, the frequency of the impact or beating of the electromagnet under the driving of the fixed voltage value is consistent) is avoided. The electromagnet control circuit controls the movement of the electromagnet based on different control voltages and different output voltages, on the one hand, the control voltages with different duty cycles can control the movement frequency of the electromagnet in the electromagnet control unit to be different, and on the other hand, the voltage regulating voltages with different sizes and the voltage regulating resistor control unit can control the movement strength of the electromagnet to be different, thereby improving the functionality of the electromagnet control circuit. BRIEF DESCRIPTION OF DRAWINGS
[0048] Figure 1 It is a frame schematic diagram of the electromagnet control circuit of the application;
[0049] Figure 2 It is a connection schematic diagram of the voltage regulating unit in the electromagnet control circuit of the application;
[0050] Figure 3 It is a connection schematic diagram of the electromagnet control unit in the electromagnet control circuit of the application;
[0051] Figure 4 It is a connection schematic diagram of the voltage boosting unit in the electromagnet control circuit of the application;
[0052] Figure 5 It is a connection schematic diagram of the electromagnet control circuit of the application.
[0053] The implementation, functional characteristics and advantages of the application will be further described with reference to the embodiments and the accompanying drawings.
[0054] Explanation of the reference signs:
[0055] 10, voltage regulating unit; 20, voltage boosting unit; 30, electromagnet control unit; RX, voltage regulating resistor; GPIO1, first input-output port; GPIO2, second input-output port; GPIO3, third input-output port; U1, digital-analog conversion chip; R1, first resistor; R2, second resistor; VDD1, chip power supply; U2, control chip; VDD, first power supply terminal; V0, fourth output terminal; SDA, serial data terminal; SCL, serial clock terminal; 31, switch control subunit; 32, electromagnet subunit; R3, third resistor; R4, fourth resistor; Q1, triode; Q2, switch tube; D1, first diode; D2, second diode; T, electromagnet; 21, feedback output subunit; 22, power supply input subunit; 23, bypass circuit subunit; U3, voltage boosting chip; VOUT, fifth output terminal; FB, feedback terminal; R5, fifth resistor; R6, sixth resistor; C1, first capacitor; V, external power supply; C2, second capacitor; C3, third capacitor; C4, fourth capacitor; R7, seventh resistor; SW1, first switch terminal; SW2, second switch terminal; BST, voltage boosting terminal; VIN, second power supply terminal; L, inductor; EN, enable terminal; EN1, external enable signal; R8, eighth resistor; R9, ninth resistor; C5, fifth capacitor; VCC, third power supply terminal; PGND, analog ground terminal; AGND, power ground terminal; COMP, common terminal; R10, tenth resistor; C6, sixth capacitor; C7, seventh capacitor; 101, first output terminal; 102, second output terminal; 201, third output terminal. DETAILED DESCRIPTION
[0056] It should be understood that the specific embodiments described herein are merely exemplary and not intended to limit the present application.
[0057] In order to better understand the technical solutions of the present application, the following will be described in detail in combination with the accompanying drawings and specific embodiments.
[0058] The conventional electromagnet control circuit is powered by a conventional DC-to-DC boost circuit for the operation of the electromagnet. The impact force of the electromagnet during operation is related to the actual voltage provided. The output voltage formula of the conventional DC-to-DC boost circuit (implemented using a boost chip) is Vout = (Rf + 1) * Vfb, where Rf is the resistance ratio of the feedback end of the boost chip, the resistance ratio of the feedback end is generally a fixed value in the circuit, and Vfb is a fixed value set for different boost chips. Therefore, for the same boost chip (corresponding to a fixed circuit), the output end of the boost chip can only output a fixed voltage value. Therefore, if the same boost chip (corresponding to a fixed circuit) is used to drive the electromagnet control circuit, the impact force of the electromagnet in the electromagnet control circuit is fixed, and therefore the functionality of the entire electromagnet control circuit (the impact force of the electromagnet can only be fixed) is not high.
[0059] Therefore, based on the deficiencies of the above electromagnet control circuit, the electromagnet control circuit of the present application is proposed: the voltage regulating unit outputs control voltages with different duty cycles and voltage regulating voltages with different sizes, wherein the control voltages with different duty cycles can control the movement frequency of the electromagnet in the electromagnet control unit to be different, and the boost unit can output different output voltages, and then use different output voltages to control the electromagnet. Because the voltage regulating voltages with different sizes and the voltage regulating resistors control the movement force of the electromagnet in the electromagnet control unit to be different, the phenomenon that the DC-to-DC boost circuit can only output a fixed voltage value (i.e. the frequency of the impact or beating of the electromagnet under the driving of the fixed voltage value is consistent) is avoided. This electromagnet control circuit controls the movement of the electromagnet based on different control voltages and different output voltages. On the one hand, the control voltages with different duty cycles can control the movement frequency of the electromagnet in the electromagnet control unit to be different, and on the other hand, the voltage regulating voltages with different sizes and the voltage regulating resistors control the movement force of the electromagnet in the electromagnet control unit to be different, thereby improving the functionality of the electromagnet control circuit.
[0060] Based on this, the embodiment of the present application provides an electromagnet control circuit, which is described with reference to Figure 1 , Figure 1 The figure is a schematic diagram of the first embodiment of the electromagnet control circuit of the present application.
[0061] Referring to Figure 1 , the present application provides an electromagnet control circuit, which comprises:
[0062] The voltage regulating unit 10 is used to output control voltages with different duty cycles and voltage regulating voltages with different sizes;
[0063] The boost unit 20, the feedback end FB of the boost unit 20 is connected with the first output end 101 of the voltage regulating unit 10 through a voltage regulating resistor RX, and the boost unit 20 is used for outputting different output voltages based on the voltage regulating resistor RX and the voltage regulating voltage outputted by the first output end 101.
[0064] The electromagnet control unit 30, the control end of the electromagnet control unit 30 is connected with the second output end 102 of the voltage regulating unit 10, the input end of the electromagnet control unit 30 is connected with the third output end 201 of the boost unit 20, and the electromagnet control unit 30 is used for controlling the electromagnet T to move based on the output voltage outputted by the third output end 201 and the control voltage outputted by the second output end 102.
[0065] In the embodiment, the electromagnet control circuit is proposed to output control voltages with different duty cycles and voltage regulating voltages with different sizes through the voltage regulating unit 10, in order to solve the problem that the output end of the boost chip can only output a fixed voltage value based on the same boost chip (corresponding to a fixed circuit). On the one hand, the control voltage with different duty cycles (such as square wave voltage) directly controls the electromagnet T in the electromagnet control unit 30, so as to ensure that the electromagnet T moves at different frequencies, that is, the electromagnet T is controlled to work at a high speed by controlling the control voltage with different duty cycles, such as the smaller the duty cycle, the faster the power supply-stop power supply frequency, and the electromagnet T is knocked down when the power supply is supplied, and the electromagnet T returns when the power supply is stopped, so as to change the knocking frequency of the electromagnet T by changing the duty cycle of the control voltage. On the other hand, the voltage regulating unit 10 outputs voltage regulating voltages with different sizes to the boost unit 20, and the boost unit 20 will output different output voltages based on the voltage regulating resistor RX and the voltage regulating voltage, such as the voltage feedback pin FB of the boost chip U3 in the boost unit 20 is connected with the output pin of the voltage regulating unit 10 through a resistor, and the voltage regulating unit 10 is controlled to output voltages with different sizes by a related chip, such as an MCU (Microcontroller Unit, microcontroller unit). The size of the output voltage of the voltage regulating unit 10 can change the output voltage of the boost unit 20, because the output voltage of the boost unit 20 is used to power the electromagnet control unit 30, the higher the output voltage, the greater the electromagnet T action, and the lower the output voltage, the lighter the electromagnet T action, so as to dynamically change the knocking force of the electromagnet T. In turn, the force and knocking frequency of the electromagnet T can be controlled by outputting different output voltages and control voltages to the electromagnet control unit 30, so as to improve the functionality of the electromagnet control circuit.
[0066] In an embodiment, the boost unit 20 outputs different output voltages based on the voltage regulating resistor and the voltage regulating voltage through a single voltage regulating resistor RX (the voltage regulating resistor RX can associate the input voltage of the boost chip U3, and thus the input voltage of the boost chip U3 affects the output voltage of the boost chip U3), thereby reducing the implementation cost. According to the conventional output voltage formula, different output voltages generally need to be implemented by changing Rf or Vfb, i.e. using multiple boost chips or multiple sets of resistors, which greatly increases the implementation cost and the area of the electromagnet control circuit. Therefore, the embodiment can greatly reduce the layout area and the cost.
[0067] In the embodiment, an electromagnet control circuit is provided, which includes a voltage regulating unit 10, a boost unit 20, and an electromagnet control unit 30. The voltage regulating unit 10 is configured to output control voltages with different duty cycles and voltage regulating voltages with different magnitudes. The feedback end FB of the boost unit 20 is connected to the first output end 101 of the voltage regulating unit 10 through a voltage regulating resistor RX. The boost unit 20 is configured to output different output voltages based on the voltage regulating resistor RX and the voltage regulating voltage. The control end of the electromagnet control unit 30 is connected to the second output end 102 of the voltage regulating unit 10, and the input end of the electromagnet control unit 30 is connected to the third output end 201 of the boost unit 20. The electromagnet control unit 30 is configured to control the movement of the electromagnet T based on the control voltage output by the second output end 102 and the output voltage output by the third output end 201. The electromagnet control circuit outputs control voltages with different duty cycles and voltage regulating voltages with different magnitudes through the voltage regulating unit 10. The control voltages with different duty cycles can control the movement frequency of the electromagnet T in the electromagnet control unit 30 to be different, and the boost unit 20 can output different output voltages, which are used to control the electromagnet T. The voltage regulating voltages with different magnitudes and the voltage regulating resistor RX control unit can control the movement force of the electromagnet T to be different, thereby avoiding the phenomenon that the DC-DC boost circuit can only output a fixed voltage value (i.e. the frequency of the impact or beating of the electromagnet under the driving of the fixed voltage value is consistent). The electromagnet control circuit controls the movement of the electromagnet T based on different control voltages and different output voltages. On the one hand, the control voltages with different duty cycles can control the movement frequency of the electromagnet T in the electromagnet control unit 30 to be different. On the other hand, the voltage regulating voltages with different magnitudes and the voltage regulating resistor RX control unit can control the movement force of the electromagnet T to be different, thereby improving the functionality of the electromagnet control circuit.
[0068] Further, based on the first embodiment of the present application, a second embodiment of the electromagnet control circuit of the present application is proposed, which is described with reference to Figure 2 , Figure 2A connection diagram of a voltage regulating unit in an electromagnet control circuit of the present application is shown in the figure. The voltage regulating unit 10 comprises a digital-analog conversion chip U1, a control chip U2, a first resistor R1, a second resistor R2 and a chip power supply VDD1. The digital-analog conversion chip U1 comprises:
[0069] a serial clock terminal SCL, which is connected to the control chip U2 and the first end of the first resistor R1;
[0070] a serial data terminal SDA, which is connected to the control chip U2 and the first end of the second resistor R2, wherein the second end of the first resistor R1 is connected to the second end of the second resistor R2 and then to the chip power supply VDD1;
[0071] a first power supply terminal VDD, which is connected to the chip power supply VDD1;
[0072] a fourth output terminal V0, which is the first output terminal 101 of the voltage regulating unit 10 and is connected to the first end of a voltage regulating resistor RX, wherein the second end of the voltage regulating resistor RX is connected to a feedback terminal FB of a voltage boosting unit 20.
[0073] Further, the control chip U2 comprises:
[0074] a first input-output port GPIO1, which is connected to the serial clock terminal SCL;
[0075] a second input-output port GPIO2, which is connected to the serial data terminal SDA;
[0076] a third input-output port GPIO3, which is the second output terminal 102 of the voltage regulating unit 10 and is connected to a control terminal of an electromagnet control unit 30.
[0077] In this embodiment, as can be seen from the output principle of different output voltages, the voltage regulation unit 10 actually outputs different regulated voltages to the boost unit 20. In one embodiment, the voltage regulation unit 10 can be composed of a digital-to-analog converter chip U1 controlled by the control chip U2 and a control chip U2. The control chip U2 controls the digital-to-analog converter chip U1 to output different regulated voltages based on the serial clock terminal SCL and the serial data terminal SDA. For example, when outputting command A, the regulated voltage output by the digital-to-analog converter chip U1 is A1V, and when outputting command B, the regulated voltage output by the digital-to-analog converter chip U1 is B1V. There is a unique correspondence between the regulated voltage and the output command. The digital-to-analog converter chip U1 can be a commonly used voltage output chip to output different voltages, and no specific model is limited here. The control chip U2 can be a commonly used microcontroller or MCU, and no model is limited here either. It is worth noting that multiple voltage sources and a selection switch can also be used directly at this time, and the control chip U2 can control the selection switch to select different voltage sources to power the boost chip in the boost unit 20.
[0078] In one embodiment, the control chip U2 also has the function of controlling the working and stopping states of the electromagnet T in the electromagnet control unit 30. It controls the working and stopping states of the electromagnet T by outputting a control voltage. For example, if the control voltage is 1, the electromagnet T is in the working state, and if the control voltage is 0, the electromagnet T is in the stopping state. In this way, the frequency of 0 and 1 can be controlled to make the electromagnet T be in the stopping and working states, so as to form a more obvious striking frequency, thereby improving the functionality of the electromagnet control circuit.
[0079] Furthermore, based on the first and / or second embodiments of this application described above, a third embodiment of the electromagnet control circuit of this application is proposed, with reference to... Figure 3 , Figure 3 This is a connection diagram of the electromagnet control unit in the electromagnet control circuit of this application. The electromagnet control unit 30 includes a switch control subunit 31 and an electromagnet subunit 32. The switch control subunit 31 includes:
[0080] The third resistor R3 has its first end serving as the control terminal of the electromagnet control unit 30 and is connected to the third input / output port GPIO3 of the control chip U2 in the voltage regulation unit 10.
[0081] Transistor Q1, the base of transistor Q1 is connected to the second end of the third resistor R3, and the emitter of transistor Q1 is grounded;
[0082] Switch Q2, the gate of switch Q2 is connected to the collector of transistor Q1, and the drain of switch Q2 is connected to electromagnet subunit 32.
[0083] The fourth resistor R4 has a first end connected to the collector of the transistor Q1 and a second end as an input end of the electromagnet control unit 30 and connected to the source of the switch tube Q2 and the third output end 201 of the boost unit 20.
[0084] Further, the electromagnet sub-unit 32 comprises:
[0085] The first diode D1 has an anode connected to the drain of the switch tube Q1.
[0086] The second diode D2 has an anode grounded and a cathode connected to the cathode of the first diode D1.
[0087] The electromagnet T has a first end connected to the cathode of the first diode D1 and a second end grounded.
[0088] In the embodiment, the electromagnet control unit 30 refers to a circuit for controlling the electromagnet T, mainly comprising the switch control sub-unit 31 and the electromagnet sub-unit 32. The switch control sub-unit 31 is a unit for controlling the power supply or stop of the power supply of the electromagnet T. When the switch control sub-unit 31 outputs a high level based on the third input-output port GPIO3, the transistor Q1 is turned on because the base is at a high level, the gate of the switch tube Q2 is directly grounded by the transistor Q1, that is, the gate of the switch tube Q2 is pulled low, and the switch tube Q2 is also turned on. The source of the switch tube Q2 is connected to the output voltage output by the boost unit 20, and the electromagnet T in the electromagnet sub-unit 32 is powered and attracted. The switch tube Q2 can be a PMOS (P-channel Metal Oxide Semiconductor, P-type metal oxide semiconductor) tube or an IGBT (Insulated Gate Bipolar Transistor, Insulated Gate Bipolar Transistor) tube, which is not limited here. Conversely, when the third input-output port GPIO3 outputs a low level, the transistor Q1 is turned off because the base is at a low level, and the subsequent control does not exist (that is, the switch tube Q2 is also turned off, and at this time the output voltage output by the boost unit 20 cannot reach the electromagnet T), and the electromagnet T is powered off. The first diode D1 and the second diode D2 are used for turn-on protection of the electromagnet T. Therefore, on the one hand, a square wave with a certain frequency duty ratio output by the third input-output port GPIO3 can control the electromagnet T to be attracted and released at the same frequency, so as to change the knocking frequency of the electromagnet T, and on the other hand, different sizes of output voltage can control the knocking force of the electromagnet T, so as to improve the functionality of the electromagnet control circuit.
[0089] Further, based on the first, second and / or third embodiments of the present application, a fourth embodiment of the electromagnet control circuit of the present application is proposed, referring to Figure 4 , Figure 4 Fig. 4 is a connection diagram of a second embodiment of the electromagnet control circuit of the present application, the boost unit 20 comprises a boost chip U3 and a feedback output subunit 21, the boost chip U3 comprises a feedback terminal FB and a fifth output terminal VOUT, the feedback output subunit 21 comprises:
[0090] a fifth resistor R5, a first end of the fifth resistor R5 is grounded, and a second end of the fifth resistor R5 is connected with the feedback terminal FB and a second end of a voltage regulating resistor RX;
[0091] a sixth resistor R6, a first end of the sixth resistor R6 is connected with the second end of the fifth resistor R5, a second end of the sixth resistor R6 is a third output terminal of the boost unit 20, and is connected with the fifth output terminal VOUT and a second end of a fourth resistor R4 in the electromagnet control unit 30;
[0092] a first capacitor C1, a first end of the first capacitor C1 is grounded, and a second end of the first capacitor C1 is connected with the fifth output terminal VOUT.
[0093] For example, referring to Figure 5 , Figure 5 Fig. 5 is a connection diagram of the electromagnet control circuit of the present application, the feedback terminal FB of the boost chip U3 is connected with the first output terminal V0 of the digital-to-analog conversion chip U1 through a voltage regulating resistor RX, and the digital-to-analog conversion chip U1 controls the output voltage Vo of the first output terminal V0 by the control chip U2, according to Kirchhoff's current law, the following formula can exist:
[0094]
[0095] wherein, Vout is the output voltage of the boost chip U3, Vfb is the voltage of the feedback terminal FB, which is a constant value set by the boost chip U3, RX is the resistance value of the voltage regulating resistor RX, R6 is the resistance value of the sixth resistor R6, R5 is the resistance value of the fifth resistor R5, and V0 is the output voltage of the first output terminal V0, the formula (1) is transformed to obtain:
[0096]
[0097] At this time, it is assumed that (V0-Vfb)*(R6 / RX)=M, that is, there is M=0 when Vo is equal to Vfb, that is, consistent with the existing output voltage formula, the voltage output is the fixed value of the boost chip U3, at this time the voltage regulating unit does not work; when Vo is greater than Vfb, M>0, Vout decreases, at this time the voltage regulating unit plays a role of reverse voltage reduction; when Vo is less than Vfb, M<0, Vout decreases, at this time the voltage regulating unit plays a role of forward voltage increase. At this time, the output voltage of the first output terminal V0 can be adjusted in a large range to ensure that the electromagnet control circuit is suitable for switching control of electromagnets with different working voltage ranges. At the same time, it can also be used for high voltage to attract electromagnets, lower voltage to keep electromagnets, reduce the heat generated by electromagnets during work, increase the service life of electromagnets, and save energy and reduce consumption. Finally, it is worth mentioning that based on the adjustment of the output voltage of the first output terminal V0, the impact or beating intensity and frequency can be realized without step adjustment, that is, the output voltage of the first output terminal V0 will not suddenly change, and then the impact or beating intensity will not suddenly change, so as to affect the customer experience.
[0098] In an embodiment, the boost chip U3 includes a second power supply end VIN, a boost end BST, a first switch end SW1 and a second switch end SW2, and the boost unit 20 includes a power supply input sub-unit 22, which includes:
[0099] a second capacitor C2, a first end of the second capacitor C2 being grounded, and a second end of the second capacitor C2 being connected with an external power supply V;
[0100] a third capacitor C3, a first end of the third capacitor C3 being grounded, and a second end of the third capacitor C3 being connected with the second power supply end VIN;
[0101] a seventh resistor R7, a first end of the seventh resistor R7 being connected with the second power supply end VIN, and a second end of the seventh resistor R7 being connected with the external power supply V;
[0102] an inductor L, a first end of the inductor L being connected with the external power supply V, and a second end of the inductor L being connected with the first switch end SW1 and the second switch end SW2;
[0103] a fourth capacitor C4, a first end of the fourth capacitor C4 being connected with the boost end BST, and a second end of the fourth capacitor C4 being connected with the second end of the inductor L.
[0104] In an embodiment, the boost chip U3 includes a third power supply end VCC, an enable end EN, a common end COMP, an analog ground end PGND and a power ground end AGND, wherein the analog ground end PGND and the power ground end AGND are grounded, and the boost unit 20 includes a bypass circuit sub-unit 23, which includes:
[0105] An eighth resistor R8, a first end of the eighth resistor R8 is connected to an external enable signal EN1, and a second end of the eighth resistor R8 is connected to an enable end EN;
[0106] A ninth resistor R9, a first end of the ninth resistor R9 is connected to the second end of the eighth resistor R8, and a second end of the ninth resistor R9 is grounded;
[0107] A fifth capacitor C5, a first end of the fifth capacitor C5 is connected to a third power supply end VCC, and a second end of the fifth capacitor C5 is grounded;
[0108] A tenth resistor R10, a first end of the tenth resistor R10 is connected to a common end COMP;
[0109] A sixth capacitor C6, a first end of the sixth capacitor C6 is connected to the common end COMP, and a second end of the sixth capacitor C6 is grounded;
[0110] A seventh capacitor C7, a first end of the seventh capacitor C7 is connected to the second end of the tenth resistor R10, and a second end of the seventh capacitor C7 is grounded.
[0111] In the embodiment, the electromagnet control unit 30 further comprises a power input subunit 22, which is a circuit for inputting an external power to the boost chip U3 to control the boost chip U3 to work normally, and other branch circuit subunits 23 to ensure the boost chip U3 to work normally.
[0112] The application further provides an electromagnet control device, which comprises the electromagnet control circuit.
[0113] It is worth noting that, according to the electromagnet control device of the embodiment of the application, the electromagnet control device outputs control voltages with different duty cycles and voltage regulating voltages with different sizes through the voltage regulating unit, wherein the control voltages with different duty cycles can control the movement frequency of the electromagnet in the electromagnet control unit to be different, the boost unit can output different output voltages, and then the different output voltages are used to control the electromagnet, because the voltage regulating voltages with different sizes and the electromagnet in the voltage regulating resistor control unit have different movement forces, the phenomenon that the direct-current-to-direct-current boost circuit can only output a fixed voltage value (i.e., the frequency of the impact or beating of the electromagnet under the driving of the fixed voltage value is consistent) is avoided, the electromagnet control circuit controls the movement of the electromagnet based on different control voltages and different output voltages, on the one hand, the control voltages with different duty cycles can control the movement frequency of the electromagnet in the electromagnet control unit to be different, and on the other hand, the voltage regulating voltages with different sizes and the electromagnet in the voltage regulating resistor control unit have different movement forces, and then the functionality of the electromagnet control circuit is improved.
[0114] The electromagnet control device provided by the application can solve the technical problem of low functionality of the electromagnet control circuit. Compared with the prior art, the electromagnet control device provided by the application has the same beneficial effects as the electromagnet control circuit provided by the above-mentioned embodiments, and will not be repeated here.
[0115] The application further provides a massage device, which comprises the above-mentioned electromagnet control device and an external power supply, and the electromagnet control device is connected with the external power supply.
[0116] It is worth noting that the electromagnet control device can be arranged on the massage device to move the electromagnet at different frequencies and forces, wherein the electromagnet control device is internally provided with an electromagnet control circuit and is connected with an external power supply. It is worth noting that the external power supply can be a power supply providing different voltage values for the voltage regulating unit and the voltage boosting unit, or a related generator providing a PWM (Pulse Width Modulation) waveform for the voltage regulating unit, and the specific type of the external power supply is not limited here. The movement of the electromagnet can be controlled based on different control voltages and different output voltages. On the one hand, different duty cycle control voltages can control the movement frequency of the electromagnet in the electromagnet control unit to be different, and on the other hand, different sizes of the voltage regulating voltage and the voltage regulating resistance control unit can control the movement force of the electromagnet to be different, thereby improving the functionality of the electromagnet control circuit.
[0117] It is worth noting that the massage device can also include other hardware, which will not be described one by one here. The entire device can be arranged on the massage device or other products, and the specific type is not limited here.
[0118] The device provided by the application can solve the technical problem of low functionality of the electromagnet control circuit. Compared with the prior art, the massage device provided by the application has the same beneficial effects as the electromagnet control circuit provided by the above-mentioned embodiments, and will not be repeated here.
[0119] The above-mentioned only some embodiments of the application, not limited the patent scope of the application, any equivalent structural transformation made by the application specification and the attached drawings, or direct / indirect application in other related technical fields are included in the patent protection scope of the application.
Claims
1. An electromagnet control circuit, characterized in that, The electromagnet control circuit includes: A voltage regulating unit is used to output control voltages with different duty cycles and voltage regulating voltages of different magnitudes; A boost unit, wherein the feedback terminal of the boost unit is connected to the first output terminal of the voltage regulating unit through a voltage regulating resistor, and the boost unit is used to output different output voltages based on the voltage regulating resistor and the voltage regulating voltage output from the first output terminal; An electromagnet control unit is provided, wherein the control terminal of the electromagnet control unit is connected to the second output terminal of the voltage regulating unit, and the input terminal of the electromagnet control unit is connected to the third output terminal of the boost unit. The electromagnet control unit is used to control the movement of the electromagnet based on the control voltage output from the second output terminal and the output voltage output from the third output terminal.
2. The electromagnet control circuit as described in claim 1, characterized in that, The voltage regulation unit includes a digital-to-analog converter chip, a control chip, a first resistor, a second resistor, and a chip power supply. The digital-to-analog converter chip includes: A serial clock terminal is connected to the control chip and the first terminal of the first resistor; A serial data terminal is connected to the control chip and the first terminal of the second resistor, wherein the second terminal of the first resistor is connected to the second terminal of the second resistor and then connected to the power supply of the chip. The first power supply terminal is connected to the power supply of the chip. The fourth output terminal serves as the first output terminal of the voltage regulating unit and is connected to the first terminal of the voltage regulating resistor. The second terminal of the voltage regulating resistor is connected to the feedback terminal of the boost unit.
3. The electromagnet control circuit as described in claim 2, characterized in that, The control chip includes: The first input / output port is connected to the serial clock terminal. The second input / output port is connected to the serial data terminal. The third input / output port serves as the second output terminal of the voltage regulating unit and is connected to the control terminal of the electromagnet control unit.
4. The electromagnet control circuit as described in claim 1, characterized in that, The electromagnet control unit includes a switch control subunit and an electromagnet subunit, wherein the switch control subunit includes: The third resistor, the first end of which serves as the control terminal of the electromagnet control unit, and is connected to the third input / output port of the control chip in the voltage regulation unit; The transistor has its base connected to the second terminal of the third resistor, and its emitter is grounded. A switching transistor, wherein the gate of the switching transistor is connected to the collector of the transistor, and the drain of the switching transistor is connected to the electromagnet subunit; The fourth resistor has its first end connected to the collector of the transistor, and its second end serves as the input terminal of the electromagnet control unit, and is connected to the source of the switching transistor and the third output terminal of the boost unit.
5. The electromagnet control circuit as described in claim 4, characterized in that, The electromagnet subunit includes: A first diode, wherein the anode of the first diode is connected to the drain of the switching transistor; The second diode has its anode grounded and its cathode connected to the cathode of the first diode. An electromagnet, wherein the first end of the electromagnet is connected to the cathode of the first diode, and the second end of the electromagnet is grounded.
6. The electromagnet control circuit as described in claim 1, characterized in that, The boost unit includes a boost chip and a feedback output subunit. The boost chip includes a feedback terminal and a fifth output terminal. The feedback output subunit includes: The fifth resistor has its first terminal grounded and its second terminal connected to the feedback terminal and the second terminal of the voltage regulating resistor. The sixth resistor has its first end connected to the second end of the fifth resistor. The second end of the sixth resistor serves as the third output terminal of the boost unit and is connected to the fifth output terminal and the second end of the fourth resistor in the electromagnet control unit. A first capacitor, with its first terminal grounded and its second terminal connected to the fifth output terminal.
7. The electromagnet control circuit as described in claim 6, characterized in that, The boost chip includes a second power supply terminal, a boost terminal, a first switching terminal, and a second switching terminal. The boost unit includes a power input subunit, which includes: The second capacitor has its first terminal grounded and its second terminal connected to an external power source. The third capacitor has a first terminal grounded and a second terminal connected to the second power supply terminal. The seventh resistor has its first end connected to the second power supply terminal and its second end connected to the external power supply. An inductor, wherein a first end of the inductor is connected to the external power supply, and a second end of the inductor is connected to the first switch terminal and the second switch terminal; A fourth capacitor, the first terminal of which is connected to the boost terminal, and the second terminal of which is connected to the second terminal of the inductor.
8. The electromagnet control circuit as described in claim 6, characterized in that, The boost chip includes a third power supply terminal, an enable terminal, a common terminal, an analog ground terminal, and a power ground terminal, wherein the analog ground terminal and the power ground terminal are grounded. The boost unit includes a bypass circuit subunit, which includes: The eighth resistor has its first end connected to an external enable signal, and its second end connected to the enable end. The ninth resistor has its first end connected to the second end of the eighth resistor, and its second end is grounded. The fifth capacitor has its first terminal connected to the third power supply terminal and its second terminal grounded. The tenth resistor, wherein the first end of the tenth resistor is connected to the common terminal; The sixth capacitor has its first terminal connected to the common terminal and its second terminal grounded. The seventh capacitor has its first terminal connected to the second terminal of the tenth resistor, and the second terminal of the seventh capacitor is grounded.
9. An electromagnet control device, characterized in that, The electromagnet control device includes the electromagnet control circuit as described in any one of claims 1 to 8.
10. A massage device, characterized in that, The massage device includes the electromagnet control device as described in claim 9 and an external power supply, wherein the electromagnet control device is connected to the external power supply.