SUMMERY OF THE UTILITY MODEL
The utility model provides an integrated shaver driving single chip and a shaver, aiming at reducing the volume and the cost.
In a first aspect, the present invention provides an integrated shaver driving single chip, comprising:
the signal receiving module is configured to acquire an external electric signal which is generated by representing the induction of an external electronic component;
the main control module is connected with the signal receiving module and is configured to perform logical operation on the external electric signal and generate a motor control electric signal;
the motor control module is connected with the main control module and is configured to generate a motor driving signal for driving an external motor to work according to the motor control electric signal;
and the display control module is connected with the main control module and is configured to be controlled by the main control module to generate a display driving signal for driving an external display module to work.
Preferably, the main control module includes a signal timing unit and a determination unit, the signal timing unit is connected to the determination unit and the signal receiving module, the signal timing unit is configured to time a signal in the external electrical signal, and the determination unit is configured to determine whether the external electrical signal is an effective signal according to the timing result.
Preferably, the main control module further includes a counting unit and a main control unit, the counting unit is connected between the judging unit and the main control unit, the counting unit counts the effective signals, and the main control unit is configured to generate the corresponding motor control electrical signals according to the number of the effective signals.
Preferably, the display control module comprises a mirror image circuit, the mirror image circuit is connected with the main control module, and a mirror image output end of the mirror image circuit is connected with an external display module.
Preferably, the sound control module is connected with the main control module and configured to be controlled by the main control module to generate a sound driving signal for driving an external sound module to work.
Preferably, the battery pack further comprises a charge-discharge module which is respectively connected with the main control module, the external battery and the external power supply.
Preferably, the battery protection module is respectively connected with the main control module and the external battery.
Preferably, the electric quantity detection module is further included, and the electric quantity detection module is connected with the main control module and the external battery.
Preferably, the motor detection module is further included, and the motor detection module is respectively connected with the main control module and the external motor.
In a second aspect, a shaver comprises the integrated shaver driving single chip of the first aspect.
The integrated shaver driving single chip and the shaver provided by the utility model can realize multiple functions, and when the chip is applied, a peripheral circuit does not need to be provided with too many electronic components, so that the cost of peripheral arrangement of the electronic components is reduced, and the volume is small.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and therefore are only examples, and the protection scope of the present invention is not limited thereby.
It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which the utility model pertains.
The first embodiment is as follows:
an integrated shaver driving single chip 100, see fig. 1, includes a signal receiving module 11, a main control module 12, a motor control module 13, and a display control module 14. Wherein, the signal receiving module 11 is configured to obtain an external electrical signal characterizing the induction generation of the external electronic component 200. The main control module 12 is connected to the signal receiving module 11, and the main control module 12 is configured to perform a logic operation on the external electrical signal and generate a motor control electrical signal. The motor control module 13 is connected to the main control module 12, and the motor control module 13 is configured to generate a motor driving signal for driving the external motor 300 to operate according to the motor control electrical signal. The display control module 14 is connected to the main control module 12, and the display control module 14 is configured to be controlled by the main control module 12 to generate a display driving signal for driving the external display module 400 to operate.
It should be noted that the "external electronic component 200" described in the present embodiment is "external" with respect to the integrated shaver driving single chip 100, and is not "external" to the carrier on which the integrated shaver driving single chip 100 is located. Similarly, the following "external motor 300" is "external" with respect to the integrated shaver driving single chip 100, and is not limited to a specific position of the "external motor 300". Similarly, the present embodiment is equivalent to the external display module 400, the external sound module 500, the external power supply 600, and the external battery 700 described below.
In this embodiment, the external electronic components 200 may include conventional switches, conventional keys, pulse switches, pulse keys, pneumatic switches, knife net switches, sensors, and the like. Correspondingly, if the external electronic component 200 is a conventional switch or a conventional key, the external electrical signal is a high-low level signal; if the external electronic component 200 is a pulse switch or a pulse key, the external electrical signal is a rising edge and a falling edge of the pulse; if the external electronic component 200 is a pneumatic switch, the external electrical signal may be a current, a voltage, a capacitance, or the like.
The signal receiving module 11 may include at least one of a current detector and a voltage detector, and may be determined based on actual requirements. For example, if the external electronic component 200 is a conventional switch or a conventional key, the signal receiving module 11 may be a voltage/level detector; if the external electronic component 200 is a pneumatic switch, the signal receiving module 11 may be a current detector. It should be noted that the current detector may include a device capable of detecting the current of the external electronic component 200, and the type, model, and circuit structure of the device are not particularly limited; the voltage detector may include a device capable of detecting the voltage of the external electronic component 200, and the type, model, and circuit configuration of the device are not particularly limited.
Further, when the external electronic component 200 is turned on/pressed/sensed, the signal receiving module 11 receives a corresponding external electrical signal and transmits the external electrical signal to the main control module 12.
In the present embodiment, the motor control module 13 may include, but is not limited to, a full-bridge driving circuit and a half-bridge driving circuit. The full-bridge driving circuit and the half-bridge driving circuit are used for driving the external motor 300 to operate according to the motor control motor signal, and the specific structures of the full-bridge driving circuit and the half-bridge driving circuit are not limited. The external motor 300 may be a brushless motor, a brushed motor, or the like, and the specific circuit of the motor control module 13 may be configured accordingly based on the type of the external motor 300.
In the present embodiment, the display control module 14 is used to drive the respective external display modules 400 connected thereto. The external display module 400 may include a plurality of light emitting diodes, the connection manner of the plurality of light emitting diodes is not particularly limited, and the main control module 12 may control one or more light emitting diodes to light up according to the requirement of identification or indication.
In this embodiment, as can be seen from the above description, the main control module 12 can respectively control the motor control module 13 to drive the external motor 300 to operate and the display control module 14 to drive the external display module 400 to operate based on the external electrical signal sent by the signal receiving module 11.
In this embodiment, through adopting the integrated shaver driving single chip 100 including the signal receiving module 11, the main control module 12, the motor control module 13 and the display control module 14, can drive the external motor 300, the external display module 400, and need not to adopt a plurality of chips to make up, the number of chips arranged has effectively been reduced, and simultaneously when the chip was used, peripheral circuit need not to set up too much external electronic components 200, the cost of external electronic components 200 has been reduced, the volume of the integrated shaver driving single chip 100 has been reduced.
In this embodiment, the main control module 12 may include a signal timing unit 121 and a determination unit 122, referring to fig. 2, the signal timing unit 121 is connected to the determination unit 122 and the signal receiving module 11, the signal timing unit 121 is configured to time signals in the external electrical signals, and the determination unit 122 is configured to determine whether the external electrical signals are valid signals according to a timing result.
The timing logic of the signal timing unit 121 may include: the timing of starting timing is determined according to the time when the main control module 12 receives the external electrical signal, the timing of starting timing is determined according to the time when the signal receiving module 11 generates the external electrical signal, the timing of starting timing is determined according to the time when the main control module 12 outputs the motor control electrical signal, and the like, and the manner of determining the timing of starting timing by the timing logic is not particularly limited herein.
In this embodiment, the valid signal may comprise a signal indicative of the operational state of the shaver. For example, the valid signal may be a signal for controlling the shaver to enter a locked state, a signal for controlling the shaver to display a remaining power, a signal for controlling the shaver to enter an unlocked state, a signal for controlling the external motor 300 to rotate, or the like.
In order to more clearly describe the operation of the signal timing unit 121 and the judgment unit 122, the following examples are listed:
assuming that the external electronic component 200 is a conventional switch/conventional key, when the user presses the external electronic component 200, the signal receiving module 11 generates a level signal and transmits the level signal to the main control module 12. The main control module 12 starts timing by the signal timing unit 121 when receiving the level signal, until the level signal disappears, that is, the user ends the pressing action. The determining unit 122 determines whether the timing result exceeds a preset timing duration (e.g., 20ms, 30ms, etc.), and if so, the determining unit 122 determines that the level signal is an effective signal, and the pressing operation is effective.
In this embodiment, through the signal timing unit 121 and the determination unit 122, the main control module 12 can determine validity of the signal based on the duration of the level signal, and further control the action of the shaver, so as to avoid the influence caused by the misoperation and improve user experience.
In this embodiment, the main control module 12 may further include a counting unit 123 and a main control unit 124, referring to fig. 3, the counting unit 123 is connected between the judging unit 122 and the main control unit 124, the counting unit 123 counts the valid signals, and the main control unit 124 is configured to generate corresponding motor control electrical signals according to the number of the valid signals.
In order to more clearly describe the operation of the aforementioned counting unit 123 and the main control unit 124, the following examples are listed:
the counting unit 123 records the number of times of the effective signal within the preset counting duration according to the determination result of the determining unit 122, and if the number of times of the effective signal is 1, the main control unit 124 controls the motor control module 13 to enable the external motor 300 to be in the first gear; if the number of valid signals is 2, the main control unit 124 controls the motor control module 13 to keep the external motor 300 in the second gear.
In some embodiments, if the signal timing unit 121 counts the duration of the level signal to 3s (preset lockout duration), the main control unit 124 may control the shaver to enter the lockout state. When the shaver enters the locked state, the motor control module 13 stops driving the external motor 300 until receiving the level signal again for a duration of 3 s.
In this embodiment, through the aforementioned counting unit 123 and the main control unit 124, the main control module 12 controls the operating state of the shaver according to the number of valid signals, and there is no need to provide too many external components, so as to reduce the volume of the integrated shaver driving single chip 100.
In the present embodiment, the display control module 14 includes a mirror circuit 141, referring to fig. 4, the mirror circuit 141 is connected to the main control module 12, and a mirror output terminal of the mirror circuit 141 is connected to the external display module 400.
Taking a specific mirror circuit 141 as an example, referring to fig. 5, the mirror circuit 141 includes a current source 1141, a first switch tube 1142 and a second switch tube 1143. The first end of the current source 1141 is connected to the power supply, the second end of the current source 1141 is connected to the first end of the first switch tube 1142, the second end of the first switch tube 1142 is grounded, and the third end of the first switch tube 1142 is connected to the first end of the first switch tube 1142. A first end of the second switching tube 1143 is connected to a first end of the external display module 400, and a second end of the external display module 400 is connected to the external power supply 600. The second terminal of the second switching tube 1143 is grounded, and the third terminal of the second switching tube 1143 is connected to the third terminal of the first switching tube 1142.
In this embodiment, the first switch tube 1142 may be an N-type field effect transistor, the first end of the first switch tube 1142 may be a drain, the second end of the first switch tube 1142 may be a source, and the third end of the first switch tube 1142 may be a gate. The second switch tube 1143 may be an N-type field effect transistor, the first end of the second switch tube 1143 may be a drain, the second end of the second switch tube 1143 may be a source, and the third end of the second switch tube 1143 may be a gate.
The mirror circuit 141 may further include a first adjusting unit, where the first adjusting unit may include a plurality of switching tubes and switches corresponding to the plurality of switching tubes one to one, and each switching tube may be an N-type field effect transistor. The drain of each switching tube of the first adjusting unit is connected to the first end of the first switching tube 1142, the source of each switching tube of the first adjusting unit is connected to the second end of the first switching tube 1142, and the gate of each switching tube of the first adjusting unit is connected to the node a (see fig. 5) through the corresponding switch. Similarly, the mirror circuit 141 may further include a second adjusting unit, and the second adjusting unit is connected to the second switching tube 1143 in a manner similar to the first adjusting unit is connected to the first switching tube 1142.
In this embodiment, the current source 1141 is the same as the current flowing through the external display module 400, and the on/off of the external display module 400 can be controlled by controlling the magnitude of the current source. Further, the main control module 12 can adjust the mirror ratio of the mirror current by controlling the on/off of the switch of the first adjusting unit, so as to flexibly adjust the brightness of the display module 400, and gradually increase/decrease the brightness to prompt the user of the current state of the shaver.
In the present embodiment, the integrated shaver driving single chip 100 may further include a sound control module 15 connected to the main control module 12, referring to fig. 6, the sound control module 15 is configured to be controlled by the main control module 12 to generate a sound driving signal for driving the external sound module 500 to work. The external sound module 500 may be a buzzer, a speaker, etc.
In order to more clearly describe the operation of the sound control module 15, the following examples are listed:
when the external motor 300 is determined to be locked, the main control module 12 can control the buzzer to continuously sound through the sound control module 15; when the shaver is determined to meet the locking condition or the unlocking condition, the buzzer can be controlled to sound for 3 seconds; when the shaver receives the external electric signal, the main control module 12 can control the buzzer to sound for 0.2 second; when it is determined that the external battery 700 is in a low voltage state, the main control module 12 may control the buzzer to sound for 0.5 second. It should be noted that the specific circuit of the sound control module 15 may be configured based on the type of the external sound module 500, and the circuit is not particularly limited herein.
In this embodiment, the current operating state of the shaver can be determined by the internal logic of the integrated shaver driving single chip 100, and then the buzzer is controlled to emit a sound corresponding to the operating state, which is simple and convenient.
In the present embodiment, the integrated shaver driving single chip 100 further includes a charging and discharging module 16 respectively connected to the main control module 12, the external battery 700 and the external power supply 600, see fig. 7. The external power supply 600 may be a means for supplying power to the integrated shaver driving single-chip 100 and charging the external battery 700, and the external power supply 600 may be a component capable of outputting power, for example, a USB charging wire, a power cord, or the like. The external battery 700 may be a device for storing and releasing energy. For example, the external battery 700 may be a lead storage battery, a lithium battery, or the like. The charge-discharge module 16 may include a circuit for transmitting the power supplied from the external power supply 600 to the external battery 700 and transmitting the power from the external battery 700 to each module of the shaver, and the circuit may have functions of boosting, reducing voltage, rectifying, and the like.
In this embodiment, the shaver provides two power supply modes by charging and discharging the module 16, which improves flexibility.
In this embodiment, the integrated shaver driving single-chip 100 further includes a battery protection module 17 connected to the main control module 12 and the external battery 700, respectively. The battery protection module 17 may include, but is not limited to, an overcurrent protection circuit, an overvoltage protection circuit, an overdischarge protection circuit, an overcharge protection circuit, and the like, the current detection may be performed by using a current detector, and the voltage detection may be performed by using a voltage detector, where specific structures of the battery protection module 17 and the current and voltage detection circuits are not limited.
In the present embodiment, the current detector collects the charging/discharging current of the external battery 700, the voltage detector collects the charging/discharging voltage of the external battery 700, and the battery protection module 17 determines whether the external battery 700 has the phenomena of overcurrent, overvoltage, overdischarge, overcharge, etc. based on the charging/discharging current and the charging/discharging voltage, and if so, the battery protection module 17 disconnects the charging circuit or the discharging circuit of the external battery 700.
In this embodiment, the battery protection module 17 protects the charging and discharging processes of the external battery 700, so as to improve the safety of the shaver.
In this embodiment, the integrated shaver driving single chip 100 further includes a power detection module 18, and the power detection module 18 is connected to the main control module 12 and the external battery 700. In this embodiment, the power detection module 18 includes a voltage detector for measuring the output voltage of the external battery 700 and estimating the remaining power of the external battery 700 according to the output voltage-power variation curve. In other embodiments, the power detection module 18 may include a voltage detector and a current detector, which are respectively configured to measure an output voltage and an output current of the external battery 700, calculate an equivalent resistance of the external battery 700 load according to the output voltage and the output current, and estimate the remaining power of the external battery 700 according to a relationship between the output voltage, the equivalent resistance and the power.
In this embodiment, the electric quantity of the external battery 700 is detected by the electric quantity detection module 18, and when the remaining electric quantity of the external battery 700 is smaller than the preset electric quantity threshold, the main control module 12 can prompt the user to charge through the external sound module 500 and the external display module 400, so that the practicability is high.
In this embodiment, the integrated shaver driving single chip 100 further includes a motor detection module 19, and the motor detection module 19 is connected to the main control module 12 and the external motor 300, respectively.
The motor detection module 19 may include, but is not limited to, a voltage detection circuit and a current detection circuit, the voltage detection circuit is configured to detect a motor voltage signal of the external motor 300, the current detection circuit is configured to detect a motor current signal of the external motor 300, the main control module 12 determines whether the external motor 300 operates normally (such as short circuit, open circuit, and the like) according to the motor voltage signal and the motor current signal, if it is determined that the external motor 300 operates abnormally, the main control module 12 may control the display control module 14 and/or the sound control module 15 to display and/or prompt a user with sound, or may control the motor control module 13 to stop outputting a driving signal through the main control module 12, so as to control the external motor 300 to stop operating. Here, specific configurations of the voltage detection circuit and the current detection circuit are not limited.
In this embodiment, the motor detection module 19 detects the electrical signal of the external motor 300, so as to monitor the operating status of the external motor 300, and if the external motor 300 is not operated normally, remind the user to perform processing in real time.
Example two:
a shaver comprising the integrated shaver driving single chip 100 of the first embodiment.
For a brief description of the products provided by the embodiments of the present invention, reference may be made to the corresponding contents in the foregoing embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the utility model has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.