FR2828971A1 - TWO-PHASE SIGNAL DECODING CIRCUIT - Google Patents

TWO-PHASE SIGNAL DECODING CIRCUIT Download PDF

Info

Publication number
FR2828971A1
FR2828971A1 FR0111074A FR0111074A FR2828971A1 FR 2828971 A1 FR2828971 A1 FR 2828971A1 FR 0111074 A FR0111074 A FR 0111074A FR 0111074 A FR0111074 A FR 0111074A FR 2828971 A1 FR2828971 A1 FR 2828971A1
Authority
FR
France
Prior art keywords
signal
circuit
states
pair
biphase
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
FR0111074A
Other languages
French (fr)
Other versions
FR2828971B1 (en
Inventor
Herve Cassagnes
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
STMicroelectronics SA
Original Assignee
STMicroelectronics SA
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by STMicroelectronics SA filed Critical STMicroelectronics SA
Priority to FR0111074A priority Critical patent/FR2828971B1/en
Priority to US10/039,233 priority patent/US7319722B2/en
Publication of FR2828971A1 publication Critical patent/FR2828971A1/en
Application granted granted Critical
Publication of FR2828971B1 publication Critical patent/FR2828971B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/38Synchronous or start-stop systems, e.g. for Baudot code
    • H04L25/40Transmitting circuits; Receiving circuits
    • H04L25/49Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems
    • H04L25/4904Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems using self-synchronising codes, e.g. split-phase codes

Landscapes

  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Dc Digital Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

L'invention concerne un circuit (200) et un procédé associé de décodage d'un signal biphase (DALIINO). Selon l'invention, le circuit (200) comprend essentiellement : - un registre de précharge (210), pour précharger une paire d'états du signal biphase, un état de la paire d'états étant préchargé à chaque impulsion d'un signal de précharge (PREC) périodique, et- un circuit de vérification (220), pour comparer les deux états de la paire d'états et fournir un signal d'erreur (ER) actif si les deux états sont égaux. Application aux circuits de commande de ballasts électroniques pour lampes.A circuit (200) and associated method for decoding a biphase signal (DALIINO) is provided. According to the invention, the circuit (200) essentially comprises: a precharging register (210), for precharging a pair of states of the biphase signal, one state of the pair of states being precharged on each pulse of a signal periodic precharge (PREC), and- a verification circuit (220), for comparing the two states of the pair of states and providing an active error signal (ER) if the two states are equal. Application to electronic ballast control circuits for lamps.

Description

tête de message MMS.MMS message header.

CIRCUIT DE DECODAGE DE SIGNAUX BIPHASES  TWO-PHASE SIGNAL DECODING CIRCUIT

L' invention concerne un circuit de décodage de ' signaux biphases et peut être utilisée dans un circuit d'émission ou de réception de tels signaux. L' invention est notamment intéressante pour la réception de signaux selon le protocole de communication DALI (de l'anglais Digital Adressable Lighting Interface), utilisé notamment pour la commande de ballasts électroniques. L' invention peut plus généralement être utilisée pour la réception de  The invention relates to a circuit for decoding two-phase signals and can be used in a circuit for transmitting or receiving such signals. The invention is particularly advantageous for the reception of signals according to the DALI communication protocol (from the English Digital Addressable Lighting Interface), used in particular for the control of electronic ballasts. The invention can more generally be used for the reception of

tous types de signaux biphases.all types of two-phase signals.

Les ballasts sont des circuits électroniques utilisés pour piloter des lampes fluorescentes, des lampes à mercure ou plus généralement tout type de lampes à décharge. Les ballasts peuvent être commandés par des signaux numériques, par exemple selon le protocole de communication DALI, défini notamment dans une norme IEC du 10 janvier 2000. ' Selon le protocole de communication DALI, un signal numérique reçu se présente sous la forme d'une trame comprenant un bit de début, un mot binaire de 16 bits et deux bits de fin, soit une trame de 19 bits. Le mot de 16 bits comprend par exemple une adresse de 8 bits et une instruction de 8 bits. En retour, un signal numérique émis se présente sous la forme d'une trame de 11 bits comprenant un bit de début, une donnée de 8 bits et deux  Ballasts are electronic circuits used to control fluorescent lamps, mercury lamps or more generally any type of discharge lamps. The ballasts can be controlled by digital signals, for example according to the DALI communication protocol, defined in particular in an IEC standard of January 10, 2000. 'According to the DALI communication protocol, a digital signal received takes the form of a frame comprising a start bit, a 16-bit binary word and two end bits, ie a 19-bit frame. The 16-bit word includes, for example, an 8-bit address and an 8-bit instruction. In return, a transmitted digital signal is in the form of an 11-bit frame comprising a start bit, an 8-bit datum and two

bits de fin.end bits.

Selon le protocole de communication DALI, chaque bit d'une trame, reçue ou émise par le circuit de commande, est codé sous la forme d'un signal biphase c'est-à-dire sous la forme d'un signal prenant 2 états successifs. Un "1" logique est codé sous la forme d'un signal (figure 1, réf. llOa, llOb) qui est égal à "O" pendant une lère phase, et qui est égal à "1" pendant une 2ème phase. De la même façon, un "O" logique est codé sous la forme d'un signal (figure 1, réf. 120a, 120b) qui est égal à "1" pendant une lère phase et qui est égal à "0" pendant une 2ème phase. Un bit de début (130a, 130b) est codé sous la forme d'un signal égal à "O" pendant une lère phase et égal à "1" pendant une 2ème phase. Enfin, un bit de fin (140a, 140b) est codé sous la forme d'un signal  According to the DALI communication protocol, each bit of a frame, received or transmitted by the control circuit, is coded in the form of a two-phase signal, that is to say in the form of a signal taking 2 states. successive. A logic "1" is coded in the form of a signal (FIG. 1, ref. 110A, 11Ob) which is equal to "O" during a 1st phase, and which is equal to "1" during a 2nd phase. In the same way, a logical "O" is coded in the form of a signal (figure 1, ref. 120a, 120b) which is equal to "1" during a 1st phase and which is equal to "0" during a 2nd phase. A start bit (130a, 130b) is coded in the form of a signal equal to "O" during a 1st phase and equal to "1" during a 2nd phase. Finally, an end bit (140a, 140b) is coded as a signal

égal à "1" pendant les 2 phases.equal to "1" during the 2 phases.

Ainsi, tous les bits d'une trame sont codés de la manière suivante: un "1" logique est codé par la paire d'états "01", un "0" logique est codé par la paire "10", un bit de début est codé par la paire "01" et un bit de fin est codé par la paire "11". Une trame de dix-neuf bits (respectivement onse bits) est ainsi codée sous la forme d'un nombre binaire de trente huit états  Thus, all the bits of a frame are coded as follows: a logical "1" is coded by the pair of states "01", a logical "0" is coded by the pair "10", a bit of start is coded by pair "01" and an end bit is coded by pair "11". A frame of nineteen bits (respectively onse bits) is thus coded in the form of a binary number of thirty eight states

(respectivement vingt-deux états).(respectively twenty-two states).

Les trames ainsi codées sont transmises à la vitesse de 1200 bits par seconde, soit 2400 états par seconde puisque chaque bit est codé sous la forme de deux états. Le temps d'émission d'un chiffre d'une trame est  The frames thus coded are transmitted at the speed of 1200 bits per second, or 2400 states per second since each bit is coded in the form of two states. The transmission time of a digit of a frame is

ainsi égal à T = 1/2400 soit T = 416,37 ps.  thus equal to T = 1/2400 or T = 416.37 ps.

Un but de l 'invention est de réaliser un circuit de décodage de tels signaux biphases, apte à recevoir de tels signaux et à en extraire les informations  An object of the invention is to provide a circuit for decoding such two-phase signals, capable of receiving such signals and of extracting information therefrom.

2s pertinentes.2s relevant.

Un autre but de l' invention est de réaliser un circuit de décodage de tels signaux, apte à vérifier la  Another object of the invention is to provide a circuit for decoding such signals, capable of checking the

bonne réception de tels signaux.good reception of such signals.

Avec ces objectifs en vue, l' invention concerne un circuit de décodage pour décoder un signal biphase, caractérisé en ce qu'il comprend: - un registre de précharge, pour précharger une paire d'états du signal biphase à décoder, un état de la paire d'états étant préchargé à chaque impulsion d'un signal de précharge périodique, et - un cTrcuit de vérification, pour comparer les deux états de la paire d'états et fournir un signal  With these objectives in view, the invention relates to a decoding circuit for decoding a biphase signal, characterized in that it comprises: - a preload register, for preloading a pair of states of the biphase signal to be decoded, a state of the pair of states being preloaded on each pulse of a periodic preload signal, and - a verification circuit, to compare the two states of the pair of states and provide a signal

d'erreur actif si les deux chiffres sont égaux.  error active if the two digits are equal.

Le circuit de décodage de l' invention permet ainsi de recevoir et de vérifier la réception des paires d'états des signaux biphases: le circuit de l' invention indique, après la réception de chaque paire d'états, si les états ont été correctement recus ou pas. Si les deux états d'une même paire sont identiques, cela signifie en effet que l'un au moins des états est erroné: ce constat se déduit simplement de la manière de coder un signal biphase, comme on l'a vu précédemment. Au fur et à mesure de la réception du signal biphase, le circuit de vérification va ainsi contrôler, paire par paire, l 'ensemble des paires d'états contenues dans la trame  The decoding circuit of the invention thus makes it possible to receive and verify the reception of the pairs of states of the two-phase signals: the circuit of the invention indicates, after the reception of each pair of states, whether the states have been correctly received or not. If the two states of the same pair are identical, this in fact means that at least one of the states is wrong: this observation is simply deduced from the manner of coding a biphase signal, as we have seen previously. As the biphase signal is received, the verification circuit will thus check, pair by pair, all the pairs of states contained in the frame

d'un signal biphase.of a biphase signal.

Selon un mode préféré de réalisation, le circuit de vérification fournit également un signal décodé représentatif d'une paire d'états mémorisoe dans le  According to a preferred embodiment, the verification circuit also provides a decoded signal representative of a pair of states stored in the

registre de précharge.preload register.

Le circuit de vérification fournit ainsi, après vérification, non pas tous les états du signal biphase, mais uniquement l' information pertinente contenue dans le  The verification circuit thus provides, after verification, not all the states of the biphase signal, but only the relevant information contained in the.

signal biphase.two-phase signal.

Le circuit de décodage selon l 'invention est 2s avantageusement complété par un circuit de mémorisation, pour mémoriser le signal décodé, à chaque impulsion d'un signal de validation de période égale à deux fois la période du signal de précharge. Le circuit de mémorisation peut être par exemple du type registre ou  The decoding circuit according to the invention is advantageously supplemented by a storage circuit, for storing the decoded signal, on each pulse of a validation signal with a period equal to twice the period of the precharge signal. The storage circuit can for example be of the register type or

mémoire.memory.

A chaque impulsion du signal de validation, le circuit de mémorisation mémorise ainsi, bit par bit, l'ensemble des bits du mot contenu dans la trame du  At each pulse of the validation signal, the storage circuit thus stores, bit by bit, all the bits of the word contained in the frame of the

signal biphase, comme on le verra mieux par la suite.  biphase signal, as we will see better later.

3s On notera que le circuit de décodage selon l' invention permet de limiter la taille du circuit de mémorisation à la tail le du mot contenu dans la trame du  3s It will be noted that the decoding circuit according to the invention makes it possible to limit the size of the memorization circuit to the tail le of the word contained in the frame of the.

signal biphase (par exemple 16 bits ou deux fois 8 bits).  two-phase signal (for example 16 bits or twice 8 bits).

Le circuit de décodage est encore avantageusement complété par un circuit de retard produisant un signal de fin après un temps prédéfini, pour indiquer la fin du signal biphase. Le circuit de retard est initialisé au début du signal biphase, par exemple lors de la réception  The decoding circuit is further advantageously supplemented by a delay circuit producing an end signal after a predefined time, to indicate the end of the two-phase signal. The delay circuit is initialized at the start of the two-phase signal, for example during reception

du bit de début d'une trame.the start bit of a frame.

Le signal de fin sera par exemple pris en compte pour annuler un éventuel signal d'erreur actif lors de la réception d'un bit de fin (codé par une paire d'états  The end signal will for example be taken into account to cancel a possible active error signal when receiving an end bit (coded by a pair of states

identiques "11").identical "11").

Selon un mode de réalisation, le registre de précharge est un registre à décalage, comprenant une entrse série sur laquelle est appliqué le signal biphase à décoder, et une sortie parallèle connoctée à une entrée de données parallèle du circuit de vérification. Le registre de précharge comprend au moins deux bits, nécessaires pour mémoriser au moins une paire d'états qui seront contrôlés par le circuit de vérification. Le registre de précharge peut également comprendre un nombre  According to one embodiment, the preload register is a shift register, comprising a serial input on which the biphase signal to be decoded is applied, and a parallel output connected to a parallel data input of the verification circuit. The precharge register comprises at least two bits, necessary to store at least one pair of states which will be checked by the verification circuit. The preload register can also include a number

supérieur de bits, par exemple 4.bit higher, for example 4.

Selon un mode de réalisation, le circuit de vérification comprend une première porte comprenant deux 2s entrées connectées à deux lignes successives de la sortie de données parallèle du registre de précharge. La première porte a pour fonction de vérifier si les états d'une paire d'états contenue dans le registre de précharge sont différents (réception correcte) ou  According to one embodiment, the verification circuit comprises a first gate comprising two 2s inputs connected to two successive lines of the parallel data output of the preload register. The function of the first gate is to check whether the states of a pair of states contained in the preload register are different (correct reception) or

identiques (réception mauvaise).identical (bad reception).

Si le registre de précharge comprend au moins quatre bits, le circuit de vérification est avantageusement complété par: - une deuxTème porte comprenant deux entrses connectées à deux autres lignes successives de la sortie de données parallèle du registre de précharge, et s - une troisième porte comprenant deux entrées connoctées respectivement à la sortie de la première  If the preload register comprises at least four bits, the verification circuit is advantageously completed by: - a second gate comprising two inputs connected to two other successive lines of the parallel data output of the preload register, and s - a third gate comprising two inputs connected respectively to the output of the first

porte et à la sortie de la deuxième porte.  door and at the exit of the second door.

Cette variante permet de détecter et mémoriser les deux bits de fin indiquant la fin d'une trame du signal à décoder. Par ailleurs, si le circuit de décodage comprend un circuit de retard, le circuit de vérification est avantageusement complété par une quatrième porte comprenant une entrce connectée à une sorte de la troisième porte, une entrée sur laquelle est appliqué le signal de fin, et une sortie sur laquelle est produit le signal d'erreur. Ainsi, lorsque le signal de fin est actif, le signal d'erreur est inactif, indiquant ainsi que les deux derniers états recus l'ont été correctement, quelle que soit la valeur de ces états. Cette variante du cTrcuit de vérification permet ainsi de ne pas signaler une erreur lorsque les bits de fin, codés par deux états identiques et égaux à "1", sont reçus dans le registre de  This variant makes it possible to detect and store the two end bits indicating the end of a frame of the signal to be decoded. Furthermore, if the decoding circuit comprises a delay circuit, the verification circuit is advantageously completed by a fourth gate comprising an input connected to a sort of the third gate, an input to which the end signal is applied, and a output on which the error signal is produced. Thus, when the end signal is active, the error signal is inactive, thus indicating that the last two states received were received correctly, regardless of the value of these states. This variant of the verification cTrcuit thus makes it possible not to signal an error when the end bits, coded by two identical states and equal to "1", are received in the register of

précharge.preload.

Le circuit de décodage est encore amélioré par l'ajout d'un filtre, pour filtrer le signal biphase à décoder, le filtre comprenant une entrée sur laquelle est appliqué le signal biphase à décoder et une sortie connectée à l'entrée série du registre de précharge. Le filtre permet de s'affranchir d'éventuelles perturbations  The decoding circuit is further improved by the addition of a filter, for filtering the biphase signal to be decoded, the filter comprising an input to which the biphase signal to be decoded is applied and an output connected to the serial input of the register of preload. The filter eliminates possible disturbances

brèves qui pourraient apparaître sur le signal à décoder.  brief which could appear on the signal to decode.

Selon un mode de réalisation, le filtre comprend: - un registre d'échantillons, pour mémoriser des échantillons d'un chiffre d'une paire de chiffres du signal biphase à décoder, - un ensemble de portes logiques pour calculer une valeur moyenne des échantillons contenus dans le registre d'échantillons et fournir ladite valeur moyenne au  According to one embodiment, the filter includes: - a sample register, for storing samples of a digit of a pair of digits of the biphase signal to be decoded, - a set of logic gates to calculate an average value of the samples contained in the sample register and provide said average value to the

registre de précharge.preload register.

L' invention a également pour objet un procédé de décodage d'un signal biphase, qui peut, par exemple mais non uniquement, être mis en _uvre à l' aide d'un circuit  The invention also relates to a method for decoding a biphase signal, which can, for example but not only, be implemented using a circuit.

de décodage tel que décrit ci-dessus.  decoding as described above.

Le procédé selon l' invention comprend notamment: - une étape de précharge d'une paire d'états du signal biphase, un état de la paire d'états étant préchargé à chaque impulsion d'un signal de précharge (PREC) périodique,, - une étape comparaison des deux états de la paire d'états préchargée, et - une étape de fourniture d'un signal d'erreur (ER) qui est actif si les deux états sont égaux ou inactif  The method according to the invention notably comprises: a step of precharging a pair of states of the biphase signal, a state of the pair of states being preloaded at each pulse of a periodic precharging signal (PREC), - a step of comparing the two states of the preloaded state pair, and - a step of supplying an error signal (ER) which is active if the two states are equal or inactive

s 1non.s 1no.

Le procédé est par exemple complété par une étape de fourniture d'un signal décodé représentatif de la  The method is for example supplemented by a step of supplying a decoded signal representative of the

paire d'états préchargée.preloaded state pair.

Avantageusement, une étape est ajoutée de mémorisation du signal décodé, à chaque impulsion d'un signal de validation périodique, de période égale à deux  Advantageously, a step is added of memorizing the decoded signal, with each pulse of a periodic validation signal, of period equal to two

fois la période du signal de précharge.  times the period of the precharge signal.

Une étape de mesure du temps, initialisoe au début du signal biphase, peut également être ajoutée, pour produire un signal de fin après un temps prédéfini,  A time measurement step, initialized at the start of the biphase signal, can also be added, to produce an end signal after a predefined time,

2s indiquant la fin du signal biphase.  2s indicating the end of the two-phase signal.

Le procédé peut enfin comprendre une étape de filtrage du signal biphase, réalisée avant l'étape de précharge. L' invention a également pour objet un circuit d'émission et de réception de signaux biphases codés selon un protocole de communication DALI, caractérisé en ce qu'il comprend un circuit de décodage tel que décrit ci-dessus. L' invention a enfin pour objet un circuit de commande d'un ballast électronique recevant des signaux de pilotage sous forme de signaux biphases codés selon un protocole de communication DALI, caractérisé en ce qu'il  The method can finally comprise a step of filtering the two-phase signal, carried out before the precharging step. The subject of the invention is also a circuit for transmitting and receiving biphase signals coded according to a DALI communication protocol, characterized in that it comprises a decoding circuit as described above. The invention finally relates to a control circuit of an electronic ballast receiving piloting signals in the form of biphase signals coded according to a DALI communication protocol, characterized in that it

comprend un cTrcuit de décodage tel que décrit ci-dessus.  includes a decoding cTrcuit as described above.

L' invention et les avantages qui en découlent apparaîtront plus clairement à la lecture de la  The invention and the advantages which ensue from it will become more clearly apparent on reading the

description qui suit d' exemples de réalisation d' un  description which follows of exemplary embodiments of a

circuit de décodage de signaux biphases, selon  two-phase signal decoding circuit, according to

l 'invention. La description est à lire en référence aux  the invention. The description should be read with reference to

dessins annexés dans lesquels: - la figure 1, déjà décrite, présente des diagrammes de signaux biphases, - la figure 2 est un schéma de principe d'un circuit de décodage selon l'invention, et - les figures 3 et 4 sont des schémas électroniques d'un mode de réalisation du circuit de la figure 2, - les figures 5A à 5E sont des chronogrammes de signaux en différents points du circuit de la figure 2, - la figure 6 présente une amélioration possible du circuit de la figure 2, et - les figures 7A à 7D sont des chronogrammes de  attached drawings in which: - Figure 1, already described, presents two-phase signal diagrams, - Figure 2 is a block diagram of a decoding circuit according to the invention, and - Figures 3 and 4 are diagrams electronics of an embodiment of the circuit of Figure 2, - Figures 5A to 5E are timing diagrams of signals at different points of the circuit of Figure 2, - Figure 6 shows a possible improvement of the circuit of Figure 2, and - Figures 7A to 7D are timing diagrams of

signaux en différents points du circuit de la figure 6.  signals at different points in the circuit of figure 6.

Le circuit 200 de décodage de la figure 2 comprend essentiellement un registre 210 de précharge et un  The decoding circuit 200 of FIG. 2 essentially comprises a precharge register 210 and a

circuit 220 de vérification.verification circuit 220.

Le registre 210 comprend une entrée E de données série, une entrce CP d'horloge et une sortie S de données parallèle. Un signal DALIIN est appliqué sur l'entrée E du registre 210. Le signal DALIIN est un signal biphase, contenant des donnces numériques sous forme de trames de dixneuf bits codées par des nombres binaires de trente huit états. Un signal PREC de précharge, périodique, est appliqué sur l'entrée CP. Le signal PREC a une période égale à T = 416.67 ps seconde, soit la durée d'émission  Register 210 includes a serial data input E, a clock input CP and a parallel data output S. A DALIIN signal is applied to input E of register 210. The DALIIN signal is a two-phase signal, containing digital data in the form of nineteen bit frames coded by binary numbers of thirty eight states. A precharge signal PREC, periodic, is applied to the CP input. The PREC signal has a period equal to T = 416.67 ps second, i.e. the transmission time

d'un état d'une trame.of a frame state.

Dans l'exemple, le registre 210 est un registre à décalage de 4 bits tel que représenté sur la figure 3. Le registre 210 comprend ainsi quatre bascules 300 à 303 de type D connectées en série, chacune comprenant une entrée D de donnces, une entrée CP d'horloge et une sortie Q de donnces. L'entrce D de la bascule 300 est connectée à l'entrse E du registre 210, les entrces D des bascules 301 à 303 sont connectées respectivement aux sorties Q des bascules 300 à 302. Les entrées CP de toutes les bascules 300 à 303 sont connectées ensemble à l'entrée CP  In the example, the register 210 is a 4-bit shift register as shown in FIG. 3. The register 210 thus comprises four flip-flops 300 to 303 of type D connected in series, each comprising a data input D, a CP clock input and Q data output. The input D of the flip-flop 300 is connected to the input E of the register 210, the inputs D of the flip-flops 301 to 303 are respectively connected to the outputs Q of the flip-flops 300 to 302. The inputs CP of all the flip-flops 300 to 303 are connected together to the CP input

du registre 210 pour recevoir le signal de commande PREC.  of register 210 to receive the PREC command signal.

Enfin, les sorties Q des bascules 300 à 303 sont connectées à des sorties séries S0 à S3 formant la sortie  Finally, the outputs Q of flip-flops 300 to 303 are connected to serial outputs S0 to S3 forming the output

S parallèle du registre 210.S parallel to register 210.

Le fonctionnement du registre 210 est classique: à chaque front actif du signal PREC, un chiffre du signal DALIIN est entré en bit de poids faible dans le registre 210, et les quatre bits contenus dans le registre 210 sont fournis sur sa sortie S. Le circuit 220 de vérification comprend une entrée E de donnces, parallèle, connectée à la sortie S du registre 210, une sortie OUT de données série et une  The operation of register 210 is conventional: at each active edge of the signal PREC, a digit of the signal DALIIN is entered in least significant bit in register 210, and the four bits contained in register 210 are supplied on its output S. The verification circuit 220 includes a data input E, parallel, connected to the output S of the register 210, a serial data output OUT and a

sortie I d' information.information output I.

On rappelle que, selon le protocole DALI, un "1" logique est codé par la paire d'états 01" et qu'un "O" est codé par la paire "10". Les données sont transmises au circuit 200 sous la forme de trames de 19 bits comprenant un bit de début (égal à "1" et codé "01"), un mot de 16 bits, et deux bits de fin. Tous les bits du mot  It will be recalled that, according to the DALI protocol, a logical "1" is coded by the pair of states 01 "and that an" O "is coded by the pair" 10 ". The data is transmitted to the circuit 200 in the form 19-bit frames comprising a start bit (equal to "1" and coded "01"), a 16-bit word, and two end bits. All bits of the word

de 16 bits sont codés par la paire "01" ou la paire "10".  16 bits are coded by the pair "01" or the pair "10".

Le circuit 220 permet de vérifier si les états (plus précisément les paires d'états) de la trame codée sont correctement requs ou non. Pour cela, le circuit 220 compare deux états précédemment reçus et mémorisés dans 3s le registre 210. Si les deux états sont différents, alors le circuit 220 fournit un signal ER inactif (dans un premier état logique, par exemple "1") sur sa sortie I. Au contraire, si les deux états sont identiques, alors le circuit 220 fournit un signal ER actif (dans un deuxième état logique, dans l'exemple "0"). En parallèle, le circuit 220 fournit, sur sa sortie de données OUT, un bit de donnces représentatif des deux états comparés. Dans l'exemple décrit, le bit de données fourni sur la sortie OUT est le bit mémorisé dans la bascule 302 du registre 210. Après la réception d'une paire d'états, un signal ER inactif indique que les deux chiffres sont différents et donc que le bit correspondant de la trame a été correctement requ. Au contraire, un signal ER actif après la réception d'une paire d'états indique que les deux états de la paire d'états reçue sont identiques et donc que le bit correspondant de la trame n'a pas été correctement reçu. Ainsi, la valeur du signal ER est de préférence prise en compte après la réception d'une paire d'états et non pas après la réception du premier état  The circuit 220 makes it possible to check whether the states (more precisely the pairs of states) of the coded frame are correctly required or not. For this, the circuit 220 compares two states previously received and stored in the register 210 in 3s. If the two states are different, then the circuit 220 provides an inactive ER signal (in a first logic state, for example "1") on its output I. On the contrary, if the two states are identical, then the circuit 220 supplies an active ER signal (in a second logic state, in the example "0"). In parallel, the circuit 220 supplies, on its data output OUT, a data bit representative of the two compared states. In the example described, the data bit supplied on the output OUT is the bit stored in flip-flop 302 of register 210. After the reception of a pair of states, an inactive ER signal indicates that the two digits are different and therefore that the corresponding bit of the frame has been correctly requested. On the contrary, an active ER signal after the reception of a pair of states indicates that the two states of the pair of received states are identical and therefore that the corresponding bit of the frame has not been correctly received. Thus, the value of the signal ER is preferably taken into account after the reception of a pair of states and not after the reception of the first state

d'une paire d'états.of a pair of states.

Le signal ER est exploité par ailleurs: il peut être utilisé par exemple pour stopper le fonctionnement  The ER signal is also used: it can be used for example to stop operation

du circuit 200 et/ou le réinitialiser.  of circuit 200 and / or reset it.

Un exemple de réalisation du circuit 220 est détaillé sur la figure 4. Il comprend deux portes logiques de type OU-Exclusif 410, 420 et une porte logique de type ET 430, chaque porte comprenant deux  An exemplary embodiment of the circuit 220 is detailed in FIG. 4. It comprises two logic gates of the OU-Exclusive type 410, 420 and a logic gate of the ET 430 type, each gate comprising two

entrées et une sortie de données.data input and output.

Les deux entrées de la porte 410 sont connectées à des entrées E0, E1 du circuit 220, et les deux entrées de la porte 420 sont connoctéss à des entrées E2, E3 du circuit 220, les entrces E0 à E3 formant l'entrée parallèle E du circuit 220. Les sorties respectives des portes 410, 420 sont connectées aux entréss de la porte 3s 430. Enfin, l'entrée E2 est connectée à la sortie OUT du circuit 220 et la sortie de la porte 430 est connectée à  The two inputs of gate 410 are connected to inputs E0, E1 of circuit 220, and the two inputs of gate 420 are connected to inputs E2, E3 of circuit 220, the inputs E0 to E3 forming the parallel input E of circuit 220. The respective outputs of doors 410, 420 are connected to the inputs of door 3s 430. Finally, the input E2 is connected to the output OUT of circuit 220 and the output of door 430 is connected to

la sortie I du circuit 220.the output I of circuit 220.

Le fonctionnement global du circuit 200 de décodage selon l 'invention va maintenant être détaillé dans le cadre d'un exemple numérique, en relation avec les  The overall operation of the decoding circuit 200 according to the invention will now be detailed in the context of a digital example, in relation to the

chronogrammes des figures 5A à 5E.timing diagrams of Figures 5A to 5E.

Dans l'exemple, la trame reque (figure 5A) comprend un bit de début (codé par la paire "0l"), un mot de 16 bits comprenant des "l" logiques (codés "0l") en bits de poids les plus forts et des "0" logiques (codés "l0") en bits de poids les plus faibles, et deux bits de fin (codés "ll"). La figure 5B montre la forme du signal PREC. Enfin, les figures 5C, 5D montrent le contenu du registre 210, et l'évolution du signal OUT en sortie du  In the example, the frame requested (FIG. 5A) comprises a start bit (coded by the pair "0l"), a 16-bit word comprising logical "l" (coded "0l") in most significant bits strong and logical "0" (coded "l0") in least significant bits, and two end bits (coded "ll"). Figure 5B shows the shape of the PREC signal. Finally, FIGS. 5C, 5D show the content of the register 210, and the evolution of the signal OUT at the output of the

circuit 220.circuit 220.

On supposera par ailleurs qu'initialement toutes  We will also assume that initially all

les bascules du circuit 200 sont initialisces à "l".  the flip-flops of circuit 200 are initialized at "l".

A l' instant T0, le circuit de la figure 2 est activé et la réception du signal DALIIN commence. Entre T0 et TO+2T, le bit de début est requ: le signal DALIIN est égal à "0" pendant le temps T. puis il est égal à "l"  At time T0, the circuit of FIG. 2 is activated and the reception of the DALIIN signal begins. Between T0 and TO + 2T, the start bit is required: the DALIIN signal is equal to "0" during time T. then it is equal to "l"

entre T0+T et TO+2T.between T0 + T and TO + 2T.

A l' instant A0, compris entre T0 et T0+T, le signal PREC est actif et le signal DALIIN, égal à 0, est  At time A0, between T0 and T0 + T, the signal PREC is active and the signal DALIIN, equal to 0, is

mémorisé dans la lère bascule 300 du registre 210.  memorized in the 1st flip-flop 300 of register 210.

A l' instant Al = A0+T, le signal PREC est à nouveau actif, et le signal DALIIN, égal maintenant à l, est mémorisé dans la lère bascule 300, le "0" précédemment mémorisé étant décalé dans la bascule 301: la première  At the instant Al = A0 + T, the signal PREC is again active, and the signal DALIIN, now equal to l, is memorized in the 1st flip-flop 300, the "0" previously memorized being shifted in flip-flop 301: the first

paire d'états est ainsi mémorisoe dans le registre 210.  pair of states is thus stored in register 210.

Par ailleurs, l'entrée El du circuit 220 est à "0" et l'entrce E0 est à "l": le circuit 220 fournit un signal ER inactif sur sa sortie, indiquant une réception correcte de la première paire de chiffres "0l", relative 3s au bit de début de trame. Enfin, en parallèle, le circuit  Furthermore, the input El of circuit 220 is at "0" and the input E0 is at "l": circuit 220 provides an inactive ER signal on its output, indicating correct reception of the first pair of digits "0l ", relative 3s to the start of frame bit. Finally, in parallel, the circuit

220 produit un "l" logique sur sa sortie OUT.  220 produces a logical "l" on its OUT output.

A 1' instant A) = A0+2T, le signal PREC est à nouveau actif, et le signal DALIIN, égal maintenant à 0, est mémorisé dans la lère bascule 300, le contenu précédent de la bascule 300, respectivement de la bascule 301, étant S décalé dans la bascule 301, respectivement la bascule  At the instant A) = A0 + 2T, the signal PREC is again active, and the signal DALIIN, now equal to 0, is stored in the 1st flip-flop 300, the previous content of flip-flop 300, respectively of flip-flop 301 , being S shifted in flip-flop 301, respectively flip-flop

302. Le signal OUT est quant à lui égal à "0".  302. The OUT signal is equal to "0".

A l' instant A3 = A0+3T, le signal PREC est à nouveau actif, et le signal DALIIN, égal maintenant à 1, est mémorisé dans la lère bascule 300, le "0" précédemment mémorisé étant décalé dans la bascule 301: la deuxième paire d'états est mémorisée dans le registre 210, qui  At the instant A3 = A0 + 3T, the signal PREC is again active, and the signal DALIIN, now equal to 1, is memorized in the 1st flip-flop 300, the "0" previously memorized being shifted in flip-flop 301: the second pair of states is stored in register 210, which

contient ainsi le nombre "0101" (réf. 510, figure 5C).  thus contains the number "0101" (ref. 510, figure 5C).

Par ailleurs, l'entrée E1 du circuit 220 est à "0"et son entrée E0 est à "1": le circuit 220 fournit un signal ER inactif sur sa sortie, indiquant une réception correcte du nombre "01" relatif à un bit égal à "1". En parallèle,  Furthermore, the input E1 of circuit 220 is at "0" and its input E0 is at "1": circuit 220 provides an inactive ER signal on its output, indicating correct reception of the number "01" relating to a bit equal to "1". In parallel,

le signal OUT passe à "1" (réf. 520, figure 5C).  the OUT signal goes to "1" (ref. 520, figure 5C).

A l' instant A4 = A0+4T, le signal PREC est à nouveau actif, et le signal DALIIN, égal à nouveau à 0, est mémorisé dans la lère bascule 300, le contenu précédent des bascules 300 à 302 étant décalé dans les bascules 301 à  At the instant A4 = A0 + 4T, the signal PREC is again active, and the signal DALIIN, again equal to 0, is memorized in the 1st flip-flop 300, the previous content of flip-flops 300 to 302 being shifted in the flip-flops 301 to

303. Le signal OUT est quant à lui égal à "1".  303. The OUT signal is equal to "1".

A l' instant A5 = A0+5T, le signal PREC est à nouveau actif, et le signal DALIIN, égal maintenant à 1, est mémorisé dans la lère bascule 300, le "0" précédemment mémorisé étant décalé dans la bascule 301: la troisième paire d'états est mémorisée et le registre 210 contient ainsi le nombre "0101" (réf. 530, figure 5C). Par ailleurs, les entréss E1, E0 du circuit 220 sont respectivement à 0 et à 1: le circuit 220 fournit un signal ER inactif sur sa sortie, indiquant une réception correcte du nombre "01" relatif à un bit égal à "1". En  At the instant A5 = A0 + 5T, the signal PREC is again active, and the signal DALIIN, now equal to 1, is memorized in the 1st flip-flop 300, the "0" previously memorized being shifted in flip-flop 301: the third pair of states is stored and register 210 thus contains the number "0101" (ref. 530, FIG. 5C). Furthermore, the inputs E1, E0 of the circuit 220 are respectively at 0 and at 1: the circuit 220 provides an inactive ER signal on its output, indicating correct reception of the number "01" relating to a bit equal to "1". In

parallèle, le signal OUT passe à 1 (réf. 540, figure 5C).  parallel, the OUT signal goes to 1 (ref. 540, figure 5C).

A l' instant A6, le signal PREC actif entraîne la précharge d'un nouveau bit dans le registre 210 (dans  At time A6, the active PREC signal causes the preload of a new bit in register 210 (in

l'exemple un "0").example a "0").

A l' instant A7, le signal PREC actif entraîne également la précharge d'un nouveau bit dans le registre 210 (dans l'exemple un "1"). Le circuit 220 fournit un signal ER inactif, indiquant une bonne réception, et le contenu de la bascule 302 (en l' occurrence un "1") est produit sur la sortie OUT: le 2ème bit (un "1") du mot de  At time A7, the active PREC signal also causes the preload of a new bit in the register 210 (in the example a "1"). Circuit 220 provides an inactive ER signal, indicating good reception, and the content of flip-flop 302 (in this case a "1") is produced on the output OUT: the 2nd bit (a "1") of the word

16 bits contenu dans la trame reçue est ainsi transmis.  16 bits contained in the received frame are thus transmitted.

L'ensemble est répété jusqu'à la réception complète  The set is repeated until complete reception

de l 'ensemble des bits de la trame reçue.  of all the bits of the received frame.

Des améliorations peuvent être réalisées aisément  Improvements can be made easily

sur le circuit 200 de décodage de la figure 2.  on the decoding circuit 200 of FIG. 2.

Une première amélioration consiste à aj outer un circuit 230 de mémorisation (représenté en pointillé sur la figure 2), pour mémoriser les bits du mot de 16 bits contenu dans les trames reques, au fur et à mesure que  A first improvement consists in adding a storage circuit 230 (shown in dotted lines in FIG. 2), to store the bits of the 16-bit word contained in the requested frames, as and when

lesdits bits sont fournis par le circuit 220.  said bits are supplied by circuit 220.

Dans un exemple, le circuit de mémorisation 230 (figure 2) comprend une entrce E de données série connectée à la sortie OUT de données du circuit 220 et une entrse CP d'horloge sur laquelle est appliqué un  In one example, the storage circuit 230 (FIG. 2) comprises a serial data input E connected to the data output OUT of circuit 220 and a clock input CP to which is applied a

signal VAL de validation.VAL signal for validation.

Le signal VAL est un signal périodique, de période égale à deux fois la période du signal PREC soit ici 2T = 833.33 ps. Un exemple de signal VAL est représenté sur la figure 5E. Dans cet exemple, un front actif du signal VAL est produit à la réception du deuxième état de chaque paire d'états. On rappelle que le deuxième état d'une paire d'états correspond à la valeur du bit codé: par exemple la paire "10", dont le deuxième état est égal  The signal VAL is a periodic signal, of period equal to twice the period of the signal PREC, here 2T = 833.33 ps. An example of signal VAL is shown in FIG. 5E. In this example, an active edge of the signal VAL is produced on receipt of the second state of each pair of states. Recall that the second state of a pair of states corresponds to the value of the coded bit: for example the pair "10", whose second state is equal

à "0", code le bit "0".at "0", encodes the bit "0".

Dans l'exemple, le circuit 230 est réalisé par un registre à décalage de 16 bits, cadencé par le signal  In the example, the circuit 230 is produced by a shift register of 16 bits, clocked by the signal

VAL. Un tel registre est similaire au registre 210.  VAL. Such a register is similar to register 210.

3s Ainsi, à chaque front actif du signal VAL, le circuit 230 mémorise un bit du mot de 16 bit contenu dans la trame reque. Selon les applications envisagées, le mot de 16 bits mémorisé dans le registre 230 pourra être par la suite mémorisé dans deux registres de 8 bits ou bien dans s une mémoire, ou bien pourra être utilisé par tout autre circuit. Il est à noter que le circuit 230 n'est pas indispensable au fonctionnement du circuit 200, notamment si les mots produits par le circuit 220 sont exploités  3s Thus, at each active edge of the signal VAL, the circuit 230 stores a bit of the 16-bit word contained in the frame requested. Depending on the applications envisaged, the 16-bit word stored in the register 230 may subsequently be stored in two 8-bit registers or in a memory, or may be used by any other circuit. It should be noted that circuit 230 is not essential for the operation of circuit 200, in particular if the words produced by circuit 220 are used.

directement par un autre élément.directly by another element.

En pratique, le circuit 230 pourra être un registre d'entrée d'un élément (circuit de calcul, circuit de commande, etc.) utilisant par ailleurs le mot de 16 bits requ). On notera cependant que, si une mémorisation des bits requs est nacessaire, alors le circuit 200 de décodage selon l' invention permet de limiter la taille du circuit 230 de mémorisation à 16 bits (ou deux fois 8 bits), alors qu'un circuit de réception classique nocessite l'utilisation d'un registre de 32 bits apte à  In practice, the circuit 230 could be an input register of an element (calculation circuit, control circuit, etc.) using, moreover, the 16-bit word requ). Note, however, that if memorization of the required bits is necessary, then the decoding circuit 200 according to the invention makes it possible to limit the size of the memorization circuit 230 to 16 bits (or twice 8 bits), while a circuit conventional reception process uses a 32-bit register capable of

mémoriser tous les états du signal biphase reçu.  memorize all the states of the received biphase signal.

Une autre amélioration du circuit de la figure 2 consiste à aj outer un circuit de retard 240 (représenté en pointillés sur la figure 2) comprenant une entrce 2s d'horloge sur laquelle est appliqué le signal VAL, et une sortie connectée à une entrée FIN du circuit 220. Le circuit 240 est activé lorsque le circuit 220 décode le bit de début de trame (Ce qui correspond à la lére activation du signal ER). Le circuit 240 produit un  Another improvement to the circuit in FIG. 2 consists in adding a delay circuit 240 (shown in dotted lines in FIG. 2) comprising a clock input 2s to which the signal VAL is applied, and an output connected to an input FIN of circuit 220. Circuit 240 is activated when circuit 220 decodes the frame start bit (which corresponds to the 1st activation of the ER signal). Circuit 240 produces a

signal de fin au bout d'un temps prédéfini, égal à 32T.  end signal after a preset time, equal to 32T.

Le circuit 240 a ainsi pour fonction de mesurer le temps nécessaire à la réception du mot de 16 bits contenu dans une trame (le mot de 16 bits étant codé par 16 paires d'états, soit une durée de réception de 32T), puis 3s de signaler au circuit 220, par l'intermédiaire du signal FIN (dans l'exemple actif à 1), que tous les bits de la  The circuit 240 thus has the function of measuring the time necessary for the reception of the 16-bit word contained in a frame (the 16-bit word being coded by 16 pairs of states, ie a reception duration of 32T), then 3 s to signal to circuit 220, by means of the signal FIN (in the active example at 1), that all the bits of the

trame ont été requs.frame have been requested.

Le circuit 240 est réalisé selon des schémas connus. Dans un exemple, le cTrcuit 240 est réalisé sous la forme d'un compteur de quatre bits, qui compte des impulsions du signal VAL, de période 2T, et qui produit  The circuit 240 is produced according to known diagrams. In one example, the cTrcuit 240 is produced in the form of a four-bit counter, which counts pulses of the signal VAL, of period 2T, and which produces

le signal FIN lorsqu'il atteint une valeur prédéfinie.  the signal FIN when it reaches a predefined value.

Plus généralement, le circuit 240 peut être réalisé par tout circuit de retard, apte à émettre un signal FIN au  More generally, circuit 240 can be produced by any delay circuit, capable of transmitting a signal FIN at

bout d'un temps prédéterminé égal à 32T.  after a predetermined time equal to 32T.

Si un circuit de retard 240 est ajouté, le circuit 220 doit être complété en conséquence pour prendre en compte le signal FIN. Dans l'exemple de la figure 4, le circuit 220 est complété par l'ajout d'une porte OU 440 (représentée en pointillés sur la figure 4), comprenant deux entrées connoctéss respectivement à l'entrée FIN du circuit 220 et à la sortie de la porte 410, la porte 440 comprenant également une sortie connectée à la sortie I du circuit 220. Ainsi, si le signal FIN est actif, la porte 440 fournit un "l" logique, quelles que soient les valeurs appliquées sur les entrces EO à E3 du circuit 220. Le circuit de décodage 200 peut également être amélioré par l'ajout d'un filtre 250 (représenté en 2s pointillés sur la figure 2) comprenant une entrée sur laquelle est appliqué le signal codé DALIINO, une entrce CP d'horloge sur laquelle est appliqué un signal d'échantillonnage ECH, de période T. et une sortie S de données connectée à l'entrée de données du registre de  If a delay circuit 240 is added, the circuit 220 must be completed accordingly to take into account the signal FIN. In the example of FIG. 4, the circuit 220 is completed by the addition of an OR gate 440 (shown in dotted lines in FIG. 4), comprising two inputs connected respectively to the FIN input of the circuit 220 and to the output of gate 410, gate 440 also comprising an output connected to output I of circuit 220. Thus, if the FIN signal is active, gate 440 provides a logical "l", whatever the values applied to the inputs EO to E3 of circuit 220. The decoding circuit 200 can also be improved by adding a filter 250 (shown in dotted lines in FIG. 2) comprising an input to which the coded signal DALIINO is applied, an input CP clock on which is applied a sampling signal ECH, of period T. and a data output S connected to the data input of the register

précharge 210.preload 210.

Le filtre 250 calcule une valeur moyenne du signal DALIINO au cours d'une période T (entre O+n*T et O+(n+l)*T par exemple, n étant un nombre entier) , et fournit cette valeur moyenne au registre 210. Un tel 3s filtre permet ainsi de s'affranchir des perturbations  The filter 250 calculates an average value of the DALIINO signal during a period T (between O + n * T and O + (n + l) * T for example, n being an integer), and supplies this average value to the register 210. Such a 3s filter thus makes it possible to overcome disturbances

parasites éventuellement présentes sur le signal DALIINO.  parasites possibly present on the DALIINO signal.

Un exemple de filtre pouvant être utilisé dans l' invention est représenté sur la figure 6. I1 comprend trois bascules D 610, 620, 630, trois portes ET 640, 650, 660 à deux entrées et une sortie, et une porte OU à trois  An example of a filter that can be used in the invention is shown in FIG. 6. It includes three D flip-flops 610, 620, 630, three AND gates 640, 650, 660 with two inputs and one output, and one OR gate with three

S entrées et une sortie.S inputs and one output.

Les bascules 610, 620, 630 sont connectées en série: l'entrce D de la bascule 610 est connoctée à l'entrée E du filtre 250 pour recevoir le signal DALIINO, les entrées D des bascules 620, 630 sont connectées aux sorties Q des bascules 610, 620. Les entrées d'horloge CP de toutes les bascules 610, 620, 630 sont connectées ensemble à l'entrée CP du filtre 250 pour recevoir le  Flip-flops 610, 620, 630 are connected in series: input D of flip-flop 610 is connected to input E of filter 250 to receive the DALIINO signal, inputs D of flip-flops 620, 630 are connected to outputs Q of flip-flops 610, 620. The CP clock inputs of all flip-flops 610, 620, 630 are connected together to the CP input of filter 250 to receive the

signal ECH.ECH signal.

Une entrce de la porte 640 est connectée à la sortie Q de la bascule 610 et l'autre entrée de la porte 640 est connoctée à la sortie Q de la bascule 620. Une entrée de la porte 650 est connectée à la sortie Q de la bascule 610 et l'autre entrée de la porte 650 est connectée à la sortie Q de la bascule 630. Une entrée de la porte 660 est connectée à la sortie Q de la bascule 620 et l'autre entrée de la porte 660 est connectée à la sortie Q de la bascule 630. Enfin, les entrées de la porte 670 sont connectées respectivement à la sortie de la porte 640, à la sortie de la porte 650 et à la sortie 2s de la porte 660, la sortie de la porte 670 étant  One input of door 640 is connected to the Q output of flip-flop 610 and the other input of door 640 is connected to the Q output of flip-flop 620. An input of door 650 is connected to output Q of the flip-flop 610 and the other input of gate 650 is connected to output Q of flip-flop 630. One input of gate 660 is connected to output Q of flip-flop 620 and the other input of gate 660 is connected to the output Q of the flip-flop 630. Finally, the inputs of door 670 are connected respectively to the output of door 640, to the output of door 650 and to the output 2s of door 660, the output of door 670 being

connoctée à la sortie S du filtre 250.  connected to the output S of the filter 250.

Le fonctionnement du filtre 250 est expliqué ci dessous dans un exemple. La figure 7A présente le signal DALIINO entre TO+n*T et TO+(n+2)*T, n étant un nombre entier. Dans l'exemple, le signal DALIINO est égal à "O" entre TO+n*T et TO+(n+l)*T, puis il est égal à "1" entre TO+(n+l) *T et TO+(n+2) *T. De petites perturLations 711, 712, 713 viennent modifier ponctuellement la valeur de  The operation of the filter 250 is explained below in an example. Figure 7A shows the DALIINO signal between TO + n * T and TO + (n + 2) * T, n being an integer. In the example, the DALIINO signal is equal to "O" between TO + n * T and TO + (n + l) * T, then it is equal to "1" between TO + (n + l) * T and TO + ( n + 2) * T. Small disturbances 711, 712, 713 punctually modify the value of

DALIINO.DALIINO.

Le signal ECH (figure 7B) est périodique, de période T. Dans l'exemple, il comprend trois impuleions 721, 722, 723 par période. Le signal PREC (figure 7C), utilisé par le registre 210, est également de période T. il comprend une seule impulsion 725 par période, qui apparaît aprèsl'impuleion 723. Les signaux ECH, PREC, ainsi que le signal VAL, sont par exemple fournis par un circuit de commande, non décrit ici. Ces signaux sont par exemple produits à partir d'un signal d'horloge globale d'un composant utilisant le circuit de l 'invention, et qui a une fréquence multiple de la fréquence des signaux  The signal ECH (FIG. 7B) is periodic, of period T. In the example, it comprises three pulses 721, 722, 723 per period. The signal PREC (FIG. 7C), used by the register 210, is also of period T. it comprises a single pulse 725 per period, which appears after the pulse 723. The signals ECH, PREC, as well as the signal VAL, are by example provided by a control circuit, not described here. These signals are for example produced from a global clock signal of a component using the circuit of the invention, and which has a frequency multiple of the frequency of the signals

ECH, PREC, VAL, par exemple une fréquence égale à 16/T.  ECH, PREC, VAL, for example a frequency equal to 16 / T.

Lors des trois impulsions 721, 722, 723 sur le signal ECH, trois valeurs du signal DALIINO sont mémorisces dans les bascules 610, 620, 630. Les portes 640, 650, 660, 670 calculent à tout instant une valeur moyenne des valeurs contenues dans les bascules 610, 620, 630 et ladite valeur moyenne est fournie sur la sortie S du filtre 250. Lors de l'impulsion PREC 725 suivante, la valeur moyenne fournie par le filtre 250 est mémorisée  During the three pulses 721, 722, 723 on the ECH signal, three values of the DALIINO signal are stored in flip-flops 610, 620, 630. The gates 640, 650, 660, 670 calculate at any time an average value of the values contained in flip-flops 610, 620, 630 and said average value is supplied on the output S of filter 250. During the next PREC 725 pulse, the average value supplied by filter 250 is memorized

dans le registre 210.in register 210.

Dans l'exemple, lors des impulsions 721, 722 sur le signal ECH, le signal DALIINO est égal à "O" et deux "O" sont mémorisés dans les bascules du filtre 250, puis lors de l'impulsion 723, un "1" est mémorisé dans lesdites  In the example, during pulses 721, 722 on the signal ECH, the signal DALIINO is equal to "O" and two "O" are memorized in the flip-flops of the filter 250, then during pulse 723, a "1 "is stored in said

bascules, du fait de la présence de la perturbation 712.  flip-flops, due to the presence of disturbance 712.

2s Les portes 640, 650, 660, 670 calculent une valeur moyenne à partir du contenu des bascules 610, 620, 630, un "O" logique est ainsi fourni sur la sortie du filtre 250, et il est mémorisé dans le registre 210 lors de l'impuleion 725 sur le signal PREC. Les effets de la  2s Doors 640, 650, 660, 670 calculate an average value from the content of flip-flops 610, 620, 630, a logical "O" is thus provided on the output of filter 250, and it is memorized in register 210 during of pulse 725 on the PREC signal. The effects of

perturLation 712 ont ainsi été effacés.  perturLation 712 have been deleted.

Des modifications peuvent également être réalisces  Changes can also be made

sur le circuit 200 de décodage de la figure 2.  on the decoding circuit 200 of FIG. 2.

La sortie du registre 210 peut être modifiée. En 3s effet, dans l'exemple ci-dessus, la sortie S2 du registre 210 est connectée à l'entrée du registre 230, pour mémoriser un bit du signal DALIIN dans le registre 230 à chaque impulsion VAL. Il serait également possible de connecter l'une des autres sorties (SO, S1 ou S3) du registre 210 à l'entrée du registre 230. Le cas échéant, on veillera simplement à modifier en conséquence le signal VAL, de sorte que les états pertinents dans le signal DALIIN et correspondant aux bits du mot de 16 bits codé dans le signal DALIIN soient fournis par le circuit  The output of register 210 can be modified. In fact, in the example above, the output S2 of the register 210 is connected to the input of the register 230, in order to store a bit of the signal DALIIN in the register 230 at each pulse VAL. It would also be possible to connect one of the other outputs (SO, S1 or S3) of register 210 to the input of register 230. If necessary, we will simply make sure to modify the signal VAL accordingly, so that the states relevant in the DALIIN signal and corresponding to the bits of the 16-bit word encoded in the DALIIN signal are supplied by the circuit

220 au moment opportun.220 at the appropriate time.

La taille du registre 210 peut également être modifiée. En effet, le registre 210 utilisé dans les exemples décrits ci-dessus est un registre de quatre bits. Il a pour rôle essentiel de mémoriser deux à deux les états du signal DALIIN recu, afin que ces paires d'états soient testées par le cTrcuit 220. L'avantage d'utiliser un registre 210 de quatre bits et de pouvoir mémoriser complètement les quatre états codant les bits de fin. Il serait cependant possible de choisir un registre 210 comprenant seulement 2 bits, ou au contraire un registre de taille supérieure à quatre. Le cas échéant, le circuit 220 devra être modifié en conséquence. Par exemple, si un registre 210 de deux bits est choisi, les portes 420, 430 du circuit 220 deviennent inutiles et peuvent être supprimées. Dans ce cas, la sortie de la porte 410 est reliée directement à la sortie  The size of register 210 can also be changed. Indeed, the register 210 used in the examples described above is a four-bit register. Its essential role is to store two by two the states of the received DALIIN signal, so that these pairs of states are tested by the cTrcuit 220. The advantage of using a register 210 of four bits and of being able to memorize completely the four states encoding the end bits. It would however be possible to choose a register 210 comprising only 2 bits, or on the contrary a register of size greater than four. If necessary, circuit 220 should be modified accordingly. For example, if a two bit register 210 is chosen, the gates 420, 430 of circuit 220 become useless and can be deleted. In this case, the output of door 410 is connected directly to the output

I du cTrcuit 220.I of cTrcuit 220.

Les signaux de commande PREC, VAL, ECH (fournis par un circuit de commande non représenté) peuvent également être modifiés, ils doivent cependant être tous trois périodiques, les signaux PREC, ECH de période T et le signal VAL de période 2T. Ces signaux peuvent être obtenus à partir d'un signal d'horloge extérieur au circuit et d'un ensemble de portes logiques et/ou de circuits de retard. Dans les exemples ci-dessus, ces signaux sont tous des signaux impulsionnels. Il est toutefois possible de remplacer tout ou partie de ces signaux par des signaux carrés par exemple, les fronts montants (ou bien descendants) de tels signaux étant dans  The control signals PREC, VAL, ECH (supplied by a control circuit not shown) can also be modified, they must however all be three periodic, the signals PREC, ECH of period T and the signal VAL of period 2T. These signals can be obtained from a clock signal external to the circuit and from a set of logic gates and / or delay circuits. In the examples above, these signals are all impulse signals. It is however possible to replace all or part of these signals by square signals for example, the rising (or falling) edges of such signals being in

ce cas pris en compte pour la commande des circuits.  this case taken into account for the circuit control.

//

Claims (12)

REVENDICATIONS 1. Circuit (200) de décodage pour décoder un signal biphase (DALIIN0), caractérisé en ce qu'il comprend: - un registre de précharge (210), pour précharger une paire d'états du signal biphase, un état de la paire d'états étant préchargé à chaque impulsion d'un signal de précharge (PREC) périodique, et - un circuit de vérification (220), pour comparer, les deux états de la paire d'états et fournir un signal  1. Decoding circuit (200) for decoding a biphase signal (DALIIN0), characterized in that it comprises: - a preload register (210), for preloading a pair of states of the biphase signal, a state of the pair of states being preloaded with each pulse of a periodic precharge signal (PREC), and - a verification circuit (220), for comparing, the two states of the pair of states and providing a signal d'erreur (ER) actif si les deux états sont égaux.  (ER) error active if the two states are equal. 2. Circuit selon la revendication 1, caractérisé en ce que le circuit de vérification (220) fournit également un signal décodé (OUT) représentatif de la paire d'états  2. Circuit according to claim 1, characterized in that the verification circuit (220) also provides a decoded signal (OUT) representative of the pair of states mémorisée dans le registre de précharge (210).  stored in the preload register (210). 3. Circuit selon la revendication 2, caractérisé en ce qutil comprend également un circuit de mémorisation (230), pour mémoriser le signal décodé (OUT), à chaque impulsion d'un signal de validation (VAL) périodique, de période égale à deux fois la période du signal de  3. Circuit according to claim 2, characterized in that it also comprises a storage circuit (230), for storing the decoded signal (OUT), on each pulse of a validation signal (VAL) periodic, of period equal to two times the signal period of précharge ( PREC).preload (PREC). 4. Circuit selon l'une des revendications 1 à 3,  4. Circuit according to one of claims 1 to 3, caractérisé en ce qu'il comprend également un cTrcuit de retard (240) produisant un signal de fin (FIN) après un temps prédéfini, pour indiquer la fin du signal biphase (DALIIN0), le circuit de retard (240) étant initialisé au  characterized in that it also comprises a delay circuit (240) producing an end signal (END) after a predefined time, to indicate the end of the two-phase signal (DALIIN0), the delay circuit (240) being initialized at début du signal biphase (DALIIN0).start of the two-phase signal (DALIIN0). 5. Circuit selon l'une des revendications  5. Circuit according to one of claims précédentes, caractérisé en ce qu'il comprend également un filtre (250), pour filtrer le signal biphase (DALIIN0), le filtre (250) comprenant une entrée sur laquelle est appliqué le signal biphase (DALIINO) et une sortie connectée à l'entrée série du registre de  above, characterized in that it also comprises a filter (250), for filtering the biphase signal (DALIIN0), the filter (250) comprising an input to which the biphase signal (DALIINO) is applied and an output connected to the serial entry of the register of précharge (210).preload (210). 6. Procédé de décodage d'un signal biphase (DALIINO), caractérisé en ce qu'il comprend: - une étape de précharge d'une paire d'états du signal biphase, un état de la paire d'états étant préchargé à chaque impulsion d'un signal de précharge (PREC) périodique, - une étape comparaison des deux états de la paire d'états préchargée, et - une étape de fourniture d'un signal d'erreur (ER) qui est actif si les deux états sont égaux ou inactif  6. Method for decoding a biphase signal (DALIINO), characterized in that it comprises: - a step of precharging a pair of states of the biphase signal, a state of the pair of states being preloaded at each pulse of a periodic precharge signal (PREC), - a step of comparing the two states of the preloaded state pair, and - a step of providing an error signal (ER) which is active if the two states are equal or inactive sinon.if not. 7. Procédé selon la revendication 6, caractérisé en ce qu'il comprend également une étape de fourniture d'un signal décodé (OUT) représentatif de la paire d'états  7. Method according to claim 6, characterized in that it also comprises a step of supplying a decoded signal (OUT) representative of the pair of states préchargée.preloaded. 8. Procédé selon la revendication 7, caractérisé en ce qu'il comprend également une étape de mémorisation du signal décodé (OUT), à chaque impulsion d'un signal de validation (VAL) périodique, de période égale à deux fois  8. Method according to claim 7, characterized in that it also comprises a step of memorizing the decoded signal (OUT), on each pulse of a periodic validation signal (VAL), of period equal to twice. la période du signal de précharge (PREC).  the period of the precharge signal (PREC). 9. Procédé selon l'une des revendications 6 à 8,  9. Method according to one of claims 6 to 8, caractérisé en ce qu'il comprend également une étape de mesure du temps, initialisée au début du signal biphase (DALIINO), pour produire un signal de fin (FIN) après un temps prédéfini, indiquant la fin du signal biphase  characterized in that it also includes a time measurement step, initialized at the start of the biphase signal (DALIINO), to produce an end signal (END) after a predefined time, indicating the end of the biphase signal (DALIINO).(DALIINO). 3s  3s 10. Procédé selon l'une des revendications 6 à 9,10. Method according to one of claims 6 to 9, caractérisé en ce qu'il comprend également une étape de / filtrage du signal biphase (DALIINO), réalisée avant  characterized in that it also comprises a step of / filtering the biphase signal (DALIINO), carried out before l'étape de précharge.the preload step. 11. Circuit d'émission et de réception de signaux biphases codés selon un protocole de communication DALI, caractérisé en ce qu'il comprend un cTrcuit de décodage  11. Circuit for transmitting and receiving biphase signals coded according to a DALI communication protocol, characterized in that it comprises a decoding cTrcuit selon l'une des revendications 1 à 5.  according to one of claims 1 to 5. 12. Circuit de commande d'un ballast électronique recevant des signaux de pilotage sous forme de signaux biphases codés selon un protocole de communication DALI, caractérisé en ce qu'il comprend un circuit de décodage  12. Control circuit of an electronic ballast receiving control signals in the form of biphase signals coded according to a DALI communication protocol, characterized in that it comprises a decoding circuit
FR0111074A 2001-08-24 2001-08-24 TWO-PHASE SIGNAL DECODING CIRCUIT Expired - Fee Related FR2828971B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
FR0111074A FR2828971B1 (en) 2001-08-24 2001-08-24 TWO-PHASE SIGNAL DECODING CIRCUIT
US10/039,233 US7319722B2 (en) 2001-08-24 2001-12-31 Circuit for the decoding of biphase signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
FR0111074A FR2828971B1 (en) 2001-08-24 2001-08-24 TWO-PHASE SIGNAL DECODING CIRCUIT

Publications (2)

Publication Number Publication Date
FR2828971A1 true FR2828971A1 (en) 2003-02-28
FR2828971B1 FR2828971B1 (en) 2004-07-16

Family

ID=8866711

Family Applications (1)

Application Number Title Priority Date Filing Date
FR0111074A Expired - Fee Related FR2828971B1 (en) 2001-08-24 2001-08-24 TWO-PHASE SIGNAL DECODING CIRCUIT

Country Status (2)

Country Link
US (1) US7319722B2 (en)
FR (1) FR2828971B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8680969B2 (en) * 2009-03-20 2014-03-25 Lutron Electronics Co., Inc. Method of confirming that a control device complies with a predefined protocol standard

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2171277A (en) * 1985-02-06 1986-08-20 Plessey Co Plc Decoding method and apparatus for biphase coded signals
US5056114A (en) * 1989-08-03 1991-10-08 Northern Telecom Limited Method and apparatus for decoding Manchester encoded data
US5684479A (en) * 1994-07-29 1997-11-04 Okuma Corporation Communication device performing code conversion between binary data and serial data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1804449A3 (en) * 1994-07-25 2007-08-29 Sanyo Electric Co., Ltd. Decoding circuit for bi-phase BPSK signal
US6175542B1 (en) * 1997-05-29 2001-01-16 Mitsumi Electric Co., Ltd. Demodulation circuit, a decode circuit and a digital PLL circuit for an optical disc apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2171277A (en) * 1985-02-06 1986-08-20 Plessey Co Plc Decoding method and apparatus for biphase coded signals
US5056114A (en) * 1989-08-03 1991-10-08 Northern Telecom Limited Method and apparatus for decoding Manchester encoded data
US5684479A (en) * 1994-07-29 1997-11-04 Okuma Corporation Communication device performing code conversion between binary data and serial data

Also Published As

Publication number Publication date
FR2828971B1 (en) 2004-07-16
US7319722B2 (en) 2008-01-15
US20030040891A1 (en) 2003-02-27

Similar Documents

Publication Publication Date Title
EP0142439B1 (en) Method of compressing a train of digital information, and apparatus therefor
EP0022004B1 (en) Method of controlling comparison between reference logical entities and logical entities of a file
FR2891075A1 (en) Memory circuit for Aho-Corasick type character recognition automaton, has memory addresses defining consecutive node strings accessible during transitions, and another sets of memory addresses defining multiple nodes pointing several states
CH628479A5 (en) MESSAGE INTERFERENCE DEVICE AND MESSAGE INTERFERENCE RESTRICTED BY THE FIRST DEVICE.
FR2559001A1 (en) DEVICE FOR READING DATA SIGNALS
FR2697663A1 (en) Memory test circuit.
FR3038188A1 (en) SYSTEM FOR VERIFYING THE INTEGRITY OF A COMMUNICATION BETWEEN TWO CIRCUITS
EP1108249A1 (en) Method for making secure a sensitive information processing in a monolithic security module, and associated security module
FR2828971A1 (en) TWO-PHASE SIGNAL DECODING CIRCUIT
EP1089203B1 (en) Method and device for extracting binary data from an input signal, in particular a signal from a digital disk
FR2773284A1 (en) Reed-Solomon signal decoding circuit
EP0032365B1 (en) Supervision device for a digital signal generator
WO2008101890A1 (en) Procedure for accessing a non-volatile memory for a watch
EP0683455B1 (en) Microcomputer with integrated breakpoint circuit triggered by combined events
EP1330781A1 (en) Circuit for detecting and formatting data frames
EP0169089B1 (en) Elementary data processing device
FR2764135A1 (en) METHOD AND DEVICE FOR FILTERING AN IMPULSE SIGNAL
EP0016678B1 (en) Clock recovery device
EP0006804B1 (en) Precision decoder for the first pulse of a pair of pulses
EP0264325B1 (en) Automatic device for making a processor compatible with the bus of another processor
EP0595707B1 (en) Linear sequencer with binary output signals
EP0039258B1 (en) Apparatus for the memorisation of logic states of a process
EP0449190A1 (en) Programmer producing binary output signals in response to a clock signal
WO1997005545A1 (en) Microprocessor circuit organisation system and sequencing method
EP1235225A2 (en) Method and memory device for sequential memory reading with address jump

Legal Events

Date Code Title Description
ST Notification of lapse

Effective date: 20090430