Method for synchronizing commutated control circuits controlled by PWM control signals
10320367 ยท 2019-06-11
Assignee
Inventors
Cpc classification
H02M1/008
ELECTRICITY
H02M1/44
ELECTRICITY
H03K17/165
ELECTRICITY
H03K5/15
ELECTRICITY
H02M7/537
ELECTRICITY
International classification
H03K5/15
ELECTRICITY
H02M7/537
ELECTRICITY
H03K17/16
ELECTRICITY
H02M1/44
ELECTRICITY
Abstract
Disclosed is a method for synchronising at least one slave control circuit, controlled by a slave control signal having pulse width modulation, with a master control circuit, controlled by a master control signal having pulse width modulation, including the following steps: the master control circuit emitting a synchronisation signal indicating a master edge of an electrical quantity; the slave control circuit receiving the synchronisation signal; measuring a delay between a slave edge of the same electrical quantity and the master edge of the electrical quantity; time-shifting the slave control signal so as to reduce the delay; and repeating the measurement step until the delay is eliminated.
Claims
1. A method for synchronizing at least one slave control circuit (1S), of switched type, controlled by a slave control signal (2S) having pulse width modulation exhibiting a slave period (3S) and controlling a slave load (4S), with a master control circuit (1M), of switched type, controlled by a master control signal (2M) having pulse width modulation exhibiting a master period (3M) and controlling a master load (4M), the method comprising the following steps: the master control circuit (1M) transmitting a synchronization signal (5) that is indicative of a master edge (67M, 68M) of an electrical quantity (7M, 8M) of the master circuit (1M); the slave control circuit (1S) receiving the synchronization signal (5); repeatedly measuring an interval (9SM) between a slave edge (67S, 68S) of the same electrical quantity (7S, 8S) of the slave circuit (1S) and the master edge (67M, 68M) of the electrical quantity (7M, 8M) of the master circuit (1M) as indicated by the synchronization signal (5), and time-shifting (92E, 92T) the slave control signal (2S) in a manner that decreases the measured interval (9SM), until said interval (9SM) is canceled out, wherein the direction of the master edge (67M, 68M) and the direction of the one or more slave edges (67S, 68S) of the measurement step are opposite.
2. The method as claimed in claim 1, further comprising: prior to the measurement step, initially delaying the master control signal (2M) so as to create a synchronization margin (13).
3. The method as claimed in claim 1, wherein the slave period (3S) is equal to the master period (3M).
4. The method as claimed in claim 1, wherein the electrical quantity (7, 8) is the current (7) flowing through the control circuit.
5. The method as claimed in claim 1, wherein the electrical quantity (7, 8) is the voltage (8) across the terminals of the load (4).
6. The method as claimed in claim 1, wherein the master edge (67M, 68M) and the one or more slave edges (67S, 68S) of the measurement step are chosen from among periodic edges.
7. The method as claimed in claim 1, further comprising: configuring the master control signal (2M) according to a first logic, with a choice of a high level (11M) at the start of a period (3M) or a high level (11M) at the end of a period (3M); and configuring the one or more slave control signals (2S) according to a second logic, different from the first logic.
8. The method as claimed in claim 1, wherein the master load (4M) is at least inductive.
9. The method as claimed in claim 1, wherein the one or more slave loads (4S) are at least inductive.
10. An electronic component for synchronizing at least one slave control circuit (1S), of switched type, controlled by a slave control signal (2S) having pulse width modulation exhibiting a slave period (3S) and controlling a slave load (4S), with a master control circuit (1M), of switched type, controlled by a master control signal (2M) having pulse width modulation exhibiting a master period (3M) and controlling a master load (4M), implementing the method as claimed in claim 1, comprising: means for the master control circuit (1M) to transmit a synchronization signal (5) that is indicative of a master edge (67M, 68M) of an electrical quantity (7M, 8M) of the master circuit (1M); means for the slave control circuit (1S) to receive the synchronization signal (5); means for measuring an interval (9SM) between a slave edge (67S, 68S) of the same electrical quantity (7S, 8S) of the slave circuit (1S) and the master edge (67M, 68M) of the electrical quantity (7M, 8M) of the master circuit (1M) as indicated by the synchronization signal (5); means for time-shifting (92E, 92T) the slave control signal (2S) so as to decrease said interval (9SM).
11. The electronic component as claimed in claim 10, further comprising: at least one master control circuit (1M) and at least one slave control circuit (1S), positioned within one and the same housing.
12. The method as claimed in claim 2, wherein the slave period (3S) is equal to the master period (3M).
13. The method as claimed in claim 2, wherein the electrical quantity (7, 8) is the current (7) flowing through the control circuit.
14. The method as claimed in claim 3, wherein the electrical quantity (7, 8) is the current (7) flowing through the control circuit.
15. The method as claimed in claim 2, wherein the electrical quantity (7, 8) is the voltage (8) across the terminals of the load (4).
16. The method as claimed in claim 3, wherein the electrical quantity (7, 8) is the voltage (8) across the terminals of the load (4).
17. The method as claimed in claim 2, wherein the master edge (67M, 68M) and the one or more slave edges (67S, 68S) of the measurement step are chosen from among periodic edges.
18. The method as claimed in claim 3, wherein the master edge (67M, 68M) and the one or more slave edges (67S, 68S) of the measurement step are chosen from among periodic edges.
19. The method as claimed in claim 4, wherein the master edge (67M, 68M) and the one or more slave edges (67S, 68S) of the measurement step are chosen from among periodic edges.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Other features, details and advantages of the invention will become more clearly apparent from the detailed description provided below by way of indication with reference to the drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION OF THE EMBODIMENTS
(8) Before starting, it is helpful to specify the notation used for the reference symbols. A reference symbol comprises a number, optionally followed by a figure, optionally followed by one to three letters. A single number generically denotes an element. An optional additional figure specifies to which other element the element denoted by the number is related.
(9) Thus, for example, 2 denotes a control signal and 6 denotes an edge. 62 refers to a control signal edge.
(10) An element may be further specified by one or two letters. The letter M characterizes an element relating to the master, while the letter S characterizes an element relating to the slave. The letter a characterizes a non-synchronized element, while the letter b characterizes a synchronized element. The letter p characterizes a periodic element, while the letter q characterizes an aperiodic element.
(11) In the particular case of an edge, or of an interval associated with such an edge, an arrow, pointing either up or down, characterizes the edge as either a rising or falling edge.
(12) Thus, for example, 2M is a master control signal and 2S is a slave control signal.
(13) It is of course possible to combine this notation. Thus, for example, 62M denotes a master (M) control signal (2) rising () edge (6). An occurrence of interference 12aMq denotes an occurrence of interference (12) in a non-synchronized case (a) for the aperiodic (q) master (M) control circuit.
(14) The invention relates to a method for synchronizing at least two control circuits 1, each control circuit 1 being of switched type, controlled by a pulse-width-modulation control signal 2.
(15) A switched control circuit 1 makes it possible, in a known manner, to control a load 4 by means of at least one switch 10. Such a switch 10 is capable of selectively opening or closing a circuit comprising at least one load 4 and a voltage source. Such a switch 10 is typically implemented by a transistor 10, advantageously a MOSFET, bipolar or IGBT transistor.
(16) The switched control circuit family 1 comprises multiple members. Certain configurations that are members of this family will be presented in order to specify the content of this family, which should not however be reduced to these few examples. This family is characterized in that a member configuration comprises at least one switch 10 controlled by a pulse-width-modulation control signal 2.
(17) A switch 10, positioned between one terminal of the load 4 and ground, 0V, the other terminal of the load being linked to the positive potential, +V, forms a control circuit 1 on the low potential side or ground side (low side driver).
(18) A switch 10, positioned between one terminal of the load 4 and the positive potential, +V, the other terminal of the load being linked to ground, 0V, forms a control circuit 1 on the high potential side or supply side (high side driver).
(19) Another example of a switched control circuit 1 may be a half-bridge, comprising two switches 10.
(20) As illustrated in
(21) The current in the load 4 varies slowly. However, the current 7 flowing through the control circuit exhibits a sudden variation after each switching operation. This sudden variation is the cause of interference.
(22) One advantage of an H-bridge is that it makes it possible, by using the other diagonal pair of switches 10d, 10b, to control the load 4 similarly to that described above, but with a current flowing through the load 4 in the opposite direction. This is advantageous for driving a motor, and thus changing the running direction thereof.
(23) Another example of a switched control circuit 1 is a control circuit 1 that can be used for the incremental control of a motor. Such a control circuit 1 is also known as a stepper.
(24) Regardless of the control circuit 1 employed, due to the presence of at least one switch 10, controlling it using a control signal 2 causes switching operations that are the root of the problem.
(25) With reference to
(26) The control signal 2 changes state to the rising edge 62, and transitions to the high state 11. This change of state controls the switch 10, which is forced closed and thus closes the circuit, applying the voltage source +V to the load 4. A current 7 is subsequently established, but with a delay 97 between the edge 62 of the control signal 2 and the beginning of the current 7 edge 67.
(27) This causes an increase in the voltage 8, but with a delay 98 between the edge 62 of the control signal 2 and the beginning of the voltage 8 edge 68.
(28) Each switching operation generates a current 7 edge 67 and a voltage 8 edge 68, of the same direction as the edge of the control signal 2. Thus, a rising edge 62 generates a rising edge 67 with a delay 97, and a rising edge 68 with a delay 98. A falling edge 62 generates a falling edge 67 with a delay 97, and a falling edge 68 with a delay 98. Each current 7 edge 67, whether rising 67 or falling 67, causes conducted interference 12, such as illustrated in
(29) In order to decrease the harmful effects of these occurrences of interference 12, it is ensured that at least some of the occurrences of interference 12 of a first control circuit 1 occur at the same time as occurrences of interference 12 of a second control circuit 1, so that they compensate for one another. In order to achieve this, certain edges of an electrical quantity 7, 8 of at least one control circuit 1, which will be referred to as the one or more slave control circuits 1S, are synchronized with corresponding edges of the same electrical quantity 7, 8 of a control circuit 1, which will be referred to as the master control circuit 1M.
(30) Depending on the type of interference 12, namely either conducted interference or radiated interference, that it is desired to attenuate, the electrical quantity 7, 8, of which the edges 67, 68 are synchronized, is chosen from between a current 7 or a voltage 8.
(31) With reference to
(32) These two control signals 2M, 2S are periodic PWM signals with respective periods 3M, 3S. Thus, in the master period 3M, the master control signal 2M comprises a master rising edge 62M and a master falling edge 62M. Similarly, in the slave period 3S, the slave control signal 2S comprises a slave rising edge 62S and a slave falling edge 62S. One of the two edges 62 of a control signal 2 is periodic, while the other edge 62 is positioned at a variable time, allowing the duty cycle to be varied. Thus, in
(33) The description is presented with a periodic edge of the master signal 2M that is falling, but it could just as well be presented with a periodic edge of the master signal 2M that is rising.
(34) As illustrated in
(35) As illustrated in
(36) It follows that, for two control circuits 1M, 1S, controlled by two control signals 2M, 2S over a period 3M, 3S, respectively, four edges 62M, 62M, 62S, 62S, such as shown in
(37) Analogously, these same four edges 62M, 62M, 62S, 62S, such as shown in
(38) Assuming that for one and the same control circuit 1 the delay 97 in the current 7 remains substantially constant, a periodic edge, here the master falling edge 62M, or the slave rising edge 62S, generates an occurrence of interference 12aMp or an occurrence of interference 12aSp, which is itself also periodic.
(39) Moreover, if an edge 6 in one direction, either rising or falling, generates an occurrence of interference 12 of a first sign, either positive or negative, a front 6 in an opposite direction generates an occurrence of interference 12 of an opposite sign.
(40) Thus, according to the invention, if the periodic interference 12aSp of the slave control circuit 1S is synchronized with the periodic interference 12aMp of the master control circuit 1M, the effects of these occurrences of interference are superposed. This results, as shown by the current curve 7Cb in
(41) The occurrences of aperiodic interference 12aSq, 12aMq which are not synchronized remain present 12bMq, 12bSq in the signal 7Cb.
(42) The aim of the invention is to synchronize the occurrences of periodic interference 12aMp caused by the master control circuit 1M with the occurrences of periodic interference 12aSp caused by the slave control circuit 1S.
(43) From one control circuit 1 to the other, variations in the electrical characteristics of the components, thermal drift, variations in the applied voltage, or else variations in the current level, lead to a variation both in the delay 97 in the current 7 and in the delay 98 in the voltage 8. Therefore, synchronizing the edges 62 of the control signals 2M, 2S has little chance of synchronizing the occurrences of interference 12aMp, 12aSp. In order to succeed in synchronizing the occurrences of periodic interference 12aMp, 12aSp, the periodic edges 6 of the electrical quantity 7, 8 causing these occurrences of periodic interference 12aMp, 12aSp, namely the current 7 edges 67 or the voltage 8 edges 68, should be synchronized.
(44) One method according to the invention thus proposes synchronizing at least one slave control circuit 1S, of switched type, controlled by a slave control signal 2S having pulse width modulation exhibiting a slave period 3S and controlling a slave load 4S, with a master control circuit 1M, of switched type, controlled by a master control signal 2M having pulse width modulation exhibiting a master period 3M and controlling a master load 4M.
(45) The description of such a method makes reference to
(46) The synchronization method comprises the following steps.
(47) In a first step, the master control circuit 1M transmits a synchronization signal 5 that is indicative of a master edge 67M, 68M of an electrical quantity 7M, 8M of the master load 4M. Thus, according to one embodiment, the synchronization signal 5 is, for example, a discrete signal. The time of detection of the start of the master edge 67M, 68M is represented by a change of state of the synchronization signal 5, i.e. for example by an edge, for example a rising edge 65.
(48) In a second step, the slave control circuit 1S receives the synchronization signal 5, and is thus informed of the start time of the master edge 67M, 68M.
(49) In a third step, on the basis of this information indicated by the synchronization signal 5, and on the basis of knowledge, typically by way of a path inside the slave control circuit 1S, of the start time of a slave edge 67S, 68S of the same electrical quantity 7S, 8S, a measurement of an interval 9SM is taken, typically by the slave control circuit 1S. The interval 9SM separates the slave edge 67S, 68S of the electrical quantity 7S, 8S of the slave load 4S from the master edge 67M, 68M of the same electrical quantity 7M, 8M of the master load 4M.
(50) Next, in a fourth step, a timeshift 92E, 92T of the slave control signal 2S is applied, typically by the slave control circuit 1S, which timeshift tends to decrease said interval 9SM.
(51) The third and fourth steps are next reprised and repeated until said interval 9SM is canceled out.
(52) Such servo control is advantageous in that it continues to correct any potential difference between master and slave that could occur, regardless of the origin thereof.
(53) Such servo control is also advantageous in that it allows the unknown delay 97M, 98M that exists between the master edge 62M of the master control signal 2M and the master edge 67M, 68M of the master electrical quantity 7M, 8M to be taken into account, along with the unknown delay 97S, 98S that exists between the slave edge 62S of the slave control signal 2S and the slave edge 67S, 68S of the slave electrical quantity 7S, 8S. Specifically, since the two delays 97M, 97S, or 98M, 98S, are unknown, the total shift 92T to be applied to the slave control signal 2S, in order to cancel out the interval 9SM, is correlated with the interval 9SM by the difference between the two delays 97M, 97S, or 98M, 98S.
(54) According to one embodiment, an elementary shift 92E, which is small in comparison with the total shift 92T or in comparison with the interval 9SM, is applied to the slave control signal 2S. The repetition of the third step, measuring a new interval 9SM, and of the fourth step, applying an elementary shift 92E, the amplitude of which may be recalculated, guarantees convergence toward a total shift 92T such that the interval 9SM is zero.
(55) According to another embodiment, a shift 92E that is substantially equal to the final value 92T is applied to the slave control signal 2S from the first iteration, in order to attempt to obtain convergence more quickly, substantially within one or two iterations.
(56) According to another embodiment, a shift 92E that is equal to a value that is predetermined, pre-calculated and/or even received via a communication bus, approaching the final value 92T, is applied to the slave control signal 2S in order to attempt to obtain convergence more quickly.
(57) According to another feature, the maximum shift 92T that can be applied to the slave control signal 2S is saturated by a maximum value.
(58) The measurement of the interval 9SM may be positive or negative, for example following overcorrection. According to one embodiment of the servo control, only the sign of the interval 9SM is observed.
(59)
(60) When carrying out servo control, the slave control signal 2S can only be delayed. Therefore, in order to facilitate synchronization and, in particular, to achieve it in a time window that is smaller than a period 3, it is advantageous to set a synchronization margin 13. For this purpose, optionally, at the latest before the measurement step marking the start of servo control, an initial delay of the master control signal 2M is advantageously applied. This delay is applied once and with a temporal amplitude 13 such that the slave control signal 2S leads the master control signal 2M. Thus, said synchronization time margin 13 makes it possible to subsequently delay the slave control signal 2S until obtaining synchronization.
(61) Up until now it has not been specified which point in time of an edge 67, 68 is suitable for carrying out the synchronization. The figures suggest the use of the start of an edge 67, 68 as a reference, both for the detection of a master edge and for the timing of a slave edge. Such a value of 0% of an edge is one possibility among others. In order to be sure that it is indeed an edge, it may be advantageous to wait and to consider a value other than 0%, for example 10%, 20% or even 50%, both for the master edge and for the slave edge. In general, any value X % between 0% and 100% is possible. Such a value is taken to be identical for the master edge and for the slave edge.
(62) For synchronization to be effective in decreasing the effects of a larger number of occurrences of interference 12, it is advantageous for the master period 3M to be equal to the slave period 3S. Such a feature makes it possible to synchronize one master edge out of two with one slave edge out of two.
(63) Depending on the type of interference 12 that it is desired to decrease, namely either conducted interference or radiated interference, it is possible to choose to synchronize the slave current 7S slave edges 67S with the master current 7M master edges 67M or the slave voltage 8S slave edges 68S with the master voltage 8M master edges 68M.
(64) Thus, the electrical quantity 7, 8 may be the current 7 flowing through the load 4. In this case, the synchronization compares/synchronizes a current master edge 67M with a current slave edge 67S.
(65) Alternatively, the electrical quantity 7, 8 may be the voltage 8 across the terminals of the load 4. In this case, the synchronization compares a voltage master edge 68M with a voltage slave edge 68S.
(66) It has been seen above, with reference to
(67) For this it is advantageous, as shown in
(68) Such a configuration does not intrinsically change a PWM control signal, which continues to transmit the same information. Such a configuration is most often supported by the logic/software means of a component that is capable of implementing a control circuit 1.
(69) Thus, as shown in
(70) In order for the synchronization to be effective in decreasing a large number of occurrences of interference, the master edge 67M, 68M and the one or more slave edges 67S, 68S of the measurement step are advantageously chosen from among the periodic edges.
(71) The periodic edge 6p, from between the two edges 6p, 6q of a period 3 of a control signal 2, is easily determined by means of knowledge of the high level logic 11. Thus, if the high level 11 is located at the end of the period 3, the periodic edge 6p is the falling edge 6, while the aperiodic edge 6q is the rising edge 6. Otherwise, if the high level 11 is located at the start of the period 3, the periodic edge 6p is the rising edge 6, while the aperiodic edge 6q is the falling edge 6. The high level logic 11, independently of the configuration characteristic described above, is known from the control circuit 1. By way of illustration, for the signal 2M of
(72) For the reasons given above, in order for two synchronized occurrences of interference to compensate for one another, the direction of the master edge 67M, 68M and the direction of the one or more slave edges 67S, 68S used in the measurement step are advantageously chosen to be opposite.
(73) The synchronization method is more particularly applicable to a master control circuit 1M applied to a master load 4M that is at least inductive. The master load 4M may also be resistive, but while preferably remaining primarily inductive.
(74) The synchronization method is more particularly applicable to a slave control circuit 1S applied to a slave load 4S that is at least inductive. The slave load 4S may also be resistive, but while preferably remaining primarily inductive.
(75) The invention also relates to an electronic component capable of implementing at least one master control circuit 1M and/or at least one slave control circuit 1S, said control circuits being capable of being synchronized by a method according to any one of the preceding embodiments.
(76) To achieve this, it is necessary to supplement a component of the prior art by adding thereto, at the hardware level, a line for transmitting a synchronization signal 5 and/or a line for receiving a synchronization signal 5. A component capable of implementing a master control circuit 1M comprises a transmission line. A component capable of implementing a slave control circuit 1S comprises a receiving line. Advantageously, a component comprising a transmission line and a receiving line may be implemented in a master control circuit, or alternatively in a slave control circuit or both: a slave for a master control circuit and a master for another slave control circuit, in order to allow synchronizations in a cascade fashion. Such a component may also comprise a line that can be configured as a transmission line or as a receiving line so that the component may be implemented, according to preference, in a master control circuit or in a slave control circuit. Such a component also comprises the logic/software means suitable for implementing and executing the various functions/steps of the method.
(77) For such a component, the line for transmitting and/or for receiving the synchronization signal 5, if it must be wired outside a housing comprising the component, requires at least one pin. In order to avoid this drawback, according to one advantageous embodiment, the electronic component comprises at least one master control circuit 1M and at least one slave control circuit 1S that are positioned within one and the same housing. Thus, the one or more transmission and/or receiving lines dedicated to the synchronization signals 5 and the connections thereof may be made within said housing and thus require no additional pin.