Sign in

username:

password:



Not a member?

Search Comp.Arch.Embedded



Search tips

embedded by Keywords

68HC11 | 68HC12 | 8051 | 8052 | ARM | ARM7 | Asic | AT91 | AT91RM9200 | Atmel | AVR | AVRStudio | Bootloader | CFP | CompactFlash | Cygnal | Cypress | Dataflash | DSP | eCos | EEPROM | Embedded Linux | Emulator | Endian | Ethernet | Firewire | FPGA | Freescale | GCC | GNUARM | GSM | H8 | HDLC | I2C | Infineon | Interrupts | Java | JTAG | LCD | LED | LPC2000 | MCU | Microchip | MMC | MPLAB | MSP430 | PC104 | PCB | PCI | PCMCIA | PowerPC | Rabbit | RS232 | RS485 | RTOS | SBC | SDRAM | Sensor | SPI | STK500 | UART | UML | USART | USB | Verilog | VHDL | VxWorks | Xilinx

Ads

Discussion Groups

Discussion Groups | Comp.Arch.Embedded | How to create a sine lookup table...

There are 9 messages in this thread.

You are currently looking at messages 0 to 9.

How to create a sine lookup table... - kvrajasekar - 09:13 12-09-08

Hi,

Can anyone guide me to create a sine lookup table according to the adc
value.I am new to PIC.so plz help me.

I am designin a UPS control with PID.here sine wave is generated according
to the adc and triangle wave is generated with fixed amplitute.
Then these two will compare by comparator.

Plz tell me how to do this task.....





Re: How to create a sine lookup table... - Spehro Pefhany - 09:25 12-09-08

On Fri, 12 Sep 2008 08:13:15 -0500, "kvrajasekar"
<r...@yahoo.co.in> wrote:

>Hi,
>
>Can anyone guide me to create a sine lookup table according to the adc
>value.I am new to PIC.so plz help me.
>
>I am designin a UPS control with PID.here sine wave is generated according
>to the adc and triangle wave is generated with fixed amplitute.
>Then these two will compare by comparator.
>
>Plz tell me how to do this task.....

Assuming you mean DAC (not adc), write a simple program in your
favorite language to spit out source code in whatever language you are
using to program your micro. 
Best regards, 
Spehro Pefhany
-- 
"it's the network..."                          "The Journey is the reward"
s...@interlog.com             Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog  Info for designers:  http://www.speff.com

Re: How to create a sine lookup table... - Jim Stewart - 14:54 12-09-08

kvrajasekar wrote:
> Hi,
> 
> Can anyone guide me to create a sine lookup table according to the adc
> value.I am new to PIC.so plz help me.
> 
> I am designin a UPS control with PID.here sine wave is generated according
> to the adc and triangle wave is generated with fixed amplitute.
> Then these two will compare by comparator.
> 
> Plz tell me how to do this task.....

Google sine table generator



Re: How to create a sine lookup table... - John Mianowski - 21:17 13-09-08

On Sep 12, 8:13=A0am, "kvrajasekar" <rajas_kvr...@yahoo.co.in> wrote:
> Hi,
>
> Can anyone guide me to create a sine lookup table according to the adc
> value.I am new to PIC.so plz help me.
>
> I am designin a UPS control with PID.here sine wave is generated accordin=
g
> to the adc and triangle wave is generated with fixed amplitute.
> Then these two will compare by comparator.
>
> Plz tell me how to do this task.....

I just used Excel to do it.

JM

Re: How to create a sine lookup table... - raja - 02:21 15-09-08

On Sep 14, 6:17=A0am, John Mianowski <spamf...@skytex.net> wrote:
> On Sep 12, 8:13=A0am, "kvrajasekar" <rajas_kvr...@yahoo.co.in> wrote:
>
> > Hi,
>
> > Can anyone guide me to create a sine lookup table according to the adc
> > value.I am new to PIC.so plz help me.
>
> > I am designin a UPS control with PID.here sine wave is generated accord=
ing
> > to the adc and triangle wave is generated with fixed amplitute.
> > Then these two will compare by comparator.
>
> > Plz tell me how to do this task.....
>
> I just used Excel to do it.
>
> JM

Hi Mr.JM,

can you please help me to create sine lookup table using excel.I dont
know how to create in excel.

Re: How to create a sine lookup table... - Stef - 07:31 15-09-08

In comp.arch.embedded,
raja <r...@gmail.com> wrote:
> On Sep 14, 6:17 am, John Mianowski <spamf...@skytex.net> wrote:
>> On Sep 12, 8:13 am, "kvrajasekar" <rajas_kvr...@yahoo.co.in> wrote:
>>
>> > Hi,
>>
>> > Can anyone guide me to create a sine lookup table according to the adc
>> > value.I am new to PIC.so plz help me.
>>
>> > I am designin a UPS control with PID.here sine wave is generated according
>> > to the adc and triangle wave is generated with fixed amplitute.
>> > Then these two will compare by comparator.
>>
>> > Plz tell me how to do this task.....
>>
>> I just used Excel to do it.
>>
>> JM
>
> Hi Mr.JM,
>
> can you please help me to create sine lookup table using excel.I dont
> know how to create in excel.

So yo are designing a 'UPS control with PID' but ar unable to find the
sine function in excel? Interesting skills set.


-- 
Stef    (remove caps, dashes and .invalid from e-mail address to reply by mail)

Kennedy's Market Theorem:
	Given enough inside information and unlimited credit,
	you've got to go broke.

Re: How to create a sine lookup table... - John Mianowski - 11:38 15-09-08

On Sep 15, 1:21=A0am, raja <raja....@gmail.com> wrote:
> On Sep 14, 6:17=A0am, John Mianowski <spamf...@skytex.net> wrote:
>
>
>
> > On Sep 12, 8:13=A0am, "kvrajasekar" <rajas_kvr...@yahoo.co.in> wrote:
>
> > > Hi,
>
> > > Can anyone guide me to create a sine lookup table according to the ad=
c
> > > value.I am new to PIC.so plz help me.
>
> > > I am designin a UPS control with PID.here sine wave is generated acco=
rding
> > > to the adc and triangle wave is generated with fixed amplitute.
> > > Then these two will compare by comparator.
>
> > > Plz tell me how to do this task.....
>
> > I just used Excel to do it.
>
> > JM
>
> Hi Mr.JM,
>
> can you please help me to create sine lookup table using excel.I dont
> know how to create in excel.

Start with Excel's Help menu.  Look up or search for the SIN()
worksheet function.

JM

Re: How to create a sine lookup table... - antedeluvian51 - 13:53 15-09-08

>On Sep 15, 1:21=A0am, raja <raja....@gmail.com> wrote:
>> On Sep 14, 6:17=A0am, John Mianowski <spamf...@skytex.net> wrote:
>>
>>
>>
>> > On Sep 12, 8:13=A0am, "kvrajasekar" <rajas_kvr...@yahoo.co.in>
wrote:
>>
>> > > Hi,
>>
>> > > Can anyone guide me to create a sine lookup table according to the
ad=
>c
>> > > value.I am new to PIC.so plz help me.
>>
>> > > I am designin a UPS control with PID.here sine wave is generated
acco=
>rding
>> > > to the adc and triangle wave is generated with fixed amplitute.
>> > > Then these two will compare by comparator.
>>
>> > > Plz tell me how to do this task.....
>>
>> > I just used Excel to do it.
>>
>> > JM
>>
>> Hi Mr.JM,
>>
>> can you please help me to create sine lookup table using excel.I dont
>> know how to create in excel.
>
>Start with Excel's Help menu.  Look up or search for the SIN()
>worksheet function.
>
>JM
>

Perhaps it would be opportune to mention my book:
Excel by Example: A Microsoft Excel Cookbook for Electronics Engineers 
published by Elsevier/Newnes ISBN: 0750677562 

Amongst many other functions pertinent to electrical engineering, I also
describe the sine function

-Aubrey

Re: How to create a sine lookup table... - Paul Carpenter - 17:16 15-09-08

In article <9e7e1766-a528-4f97-88d2-
b...@z11g2000prl.googlegroups.com>, r...@gmail.com says...
> On Sep 14, 6:17=A0am, John Mianowski <spamf...@skytex.net> wrote:
> > On Sep 12, 8:13=A0am, "kvrajasekar" <rajas_kvr...@yahoo.co.in> wrote:
> >
> > > Hi,
> >
> > > Can anyone guide me to create a sine lookup table according to the ad=
c
> > > value.I am new to PIC.so plz help me.
> >
> > > I am designin a UPS control with PID.here sine wave is generated acco=
rding
> > > to the adc and triangle wave is generated with fixed amplitute.
> > > Then these two will compare by comparator.
> >
> > > Plz tell me how to do this task.....
> >
> > I just used Excel to do it.
> >
> > JM
>=20
> Hi Mr.JM,
>=20
> can you please help me to create sine lookup table using excel.I dont
> know how to create in excel.

I do hope this is some form of university project.

If this is a commercial product, please tell us who for so we know to=20
avoid those POTENTIALLY dangerous products.=20

--=20
Paul Carpenter          | p...@pcserviceselectronics.co.uk
<http://www.pcserviceselectronics.co.uk/>;    PC Services
<http://www.pcserviceselectronics.co.uk/fonts/>; Timing Diagram Font
<http://www.gnuh8.org.uk/>;  GNU H8 - compiler & Renesas H8/H8S/H8 Tiny
<http://www.badweb.org.uk/>; For those web sites you hate